Class ViewFolderTreeNode
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
-
- com.inductiveautomation.perspective.designer.ui.trees.ViewFolderTreeNode
-
- All Implemented Interfaces:
javax.swing.tree.TreeNode
public class ViewFolderTreeNode extends AbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
Tree node implementation used for browsing views. Leaf nodes will be instances ofViewTreeNode
. Root node takes a Project as argument, will expose all views in that project.
-
-
Field Summary
Fields Modifier and Type Field Description static javax.swing.tree.TreeCellRenderer
RENDERER
Tree cell renderer that will put the correct icon on the views.-
Fields inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
parent
-
-
Constructor Summary
Constructors Constructor Description ViewFolderTreeNode(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<javax.swing.tree.TreeNode>
loadChildren()
This will be called as late a possible for the node to populate its children list.java.lang.String
toString()
-
Methods inherited from class com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode
checkChildren, children, findChild, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, setChildren
-
-
-
-
Constructor Detail
-
ViewFolderTreeNode
public ViewFolderTreeNode(Project project)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
loadChildren
@Nullable protected java.util.List<javax.swing.tree.TreeNode> loadChildren()
Description copied from class:AbstractLazyLoadingTreeNode
This will be called as late a possible for the node to populate its children list. May return null if there are no children.- Specified by:
loadChildren
in classAbstractLazyLoadingTreeNode<javax.swing.tree.TreeNode>
-
-