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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidEnumeration<? extends TreeNode>children()booleangetChildAt(int index) intintbooleanisLeaf()This will be called as late a possible for the node to populate its children list.protected voidsetChildren(List<T> children) 
- 
Field Details- 
parent
 
- 
- 
Constructor Details- 
AbstractLazyLoadingTreeNode
 
- 
- 
Method Details- 
checkChildrenprotected void checkChildren()
- 
setChildren
- 
loadChildrenThis 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:
- getChildAtin interface- TreeNode
 
- 
getChildCountpublic int getChildCount()- Specified by:
- getChildCountin interface- TreeNode
 
- 
getParent
- 
getIndex
- 
getAllowsChildrenpublic boolean getAllowsChildren()- Specified by:
- getAllowsChildrenin interface- TreeNode
 
- 
isLeafpublic boolean isLeaf()
- 
children
 
-