Class AbstractAsynchronousTreeNode<T extends TreeNode>
java.lang.Object
com.inductiveautomation.ignition.client.util.gui.tree.AbstractAsynchronousTreeNode<T>
- All Implemented Interfaces:
- AsynchronousTreeNode,- TreeNode
- Direct Known Subclasses:
- AbstractOPCTreeNode,- HistoricalProvidersNode,- HistoricalProvidersNode.HistoricalBrowseResultNode
public abstract class AbstractAsynchronousTreeNode<T extends TreeNode>
extends Object
implements AsynchronousTreeNode
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static enum
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidIf the children haven't already been loaded, then loads the children of this node synchronously within this call.protected voidcheckChildren(boolean force) children()booleangetChildAt(int idx) intintbooleanisLeaf()protected voidprotected voidprotected abstract Tprotected abstract Tvoidreload()protected voidOptional override to display a loading errorvoidsortChildren(Comparator<T> comparator) 
- 
Field Details- 
treeModel
- 
loadingNode
- 
errorNode
- 
nodeList
- 
parent
 
- 
- 
Constructor Details- 
AbstractAsynchronousTreeNode
 
- 
- 
Method Details- 
newLoadingNode
- 
newErrorNode
- 
loadChildren- Throws:
- Exception
 
- 
loadDone
- 
loadError
- 
showLoadingErrorOptional override to display a loading error
- 
checkChildrenprotected void checkChildren(boolean force) 
- 
blockLoadpublic void blockLoad()If the children haven't already been loaded, then loads the children of this node synchronously within this call.- Specified by:
- blockLoadin interface- AsynchronousTreeNode
 
- 
getChildAt- Specified by:
- getChildAtin interface- TreeNode
 
- 
getParent
- 
reloadpublic void reload()
- 
children
- 
sortChildren
- 
getAllowsChildrenpublic boolean getAllowsChildren()- Specified by:
- getAllowsChildrenin interface- TreeNode
 
- 
getChildCountpublic int getChildCount()- Specified by:
- getChildCountin interface- TreeNode
 
- 
getIndex
- 
isLeafpublic boolean isLeaf()
 
-