Class DefaultParentNode
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.tree.DefaultParentNode
- All Implemented Interfaces:
TreeNode
A tree node that keeps a list of children and has addChild function to add children. All children should be added
before the node is installed in a model. IF you want a tree node that calculates its children on the fly, look at
AbstractAsynchronousTreeNode
or AbstractLazyLoadingTreeNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
children()
boolean
getChildAt
(int index) int
int
boolean
isLeaf()
toString()
-
Field Details
-
parent
-
text
-
children
-
-
Constructor Details
-
DefaultParentNode
-
-
Method Details
-
addChild
-
getChildAt
- Specified by:
getChildAt
in interfaceTreeNode
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
-
getParent
-
getIndex
-
getAllowsChildren
public boolean getAllowsChildren()- Specified by:
getAllowsChildren
in interfaceTreeNode
-
isLeaf
public boolean isLeaf() -
children
-
toString
-