Class AbstractLazyLoadingTreeNode<T extends TreeNode>
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.tree.AbstractLazyLoadingTreeNode<T>
- All Implemented Interfaces:
TreeNode
- Direct Known Subclasses:
PropTreeComponentNode
,PropTreePageNode
,PropTreePropertyNode
,PropTreeRootNode
,PropTreeScopeNode
,PropTreeSessionNode
,PropTreeViewNode
,ViewFolderTreeNode
public abstract class AbstractLazyLoadingTreeNode<T extends TreeNode>
extends Object
implements TreeNode
Tree Node implementation which only populates its children upon demand.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Enumeration<? extends TreeNode>
children()
boolean
getChildAt
(int index) int
int
boolean
isLeaf()
This will be called as late a possible for the node to populate its children list.protected void
setChildren
(List<T> children)
-
Field Details
-
parent
-
-
Constructor Details
-
AbstractLazyLoadingTreeNode
-
-
Method Details
-
checkChildren
protected void checkChildren() -
setChildren
-
loadChildren
This will be called as late a possible for the node to populate its children list. May return null if there are no children. -
findChild
-
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
-