public interface ITreeNode
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called when the node is removed or the tree is closed.
|
java.util.List<ITreeNode> |
getCachedChildren()
Get the cached children, i.e.
|
ITreeNode |
getChild(int index)
Get the given child.
|
int |
getChildCount()
Get the child count.
|
jadex.commons.future.IFuture<java.util.List<ITreeNode>> |
getChildren()
Get the current children, i.e.
|
byte[] |
getIcon()
Get the icon for a node.
|
java.lang.Object |
getId()
Get the id used for lookup.
|
int |
getIndexOfChild(ITreeNode child)
Get the index of a child.
|
ITreeNode |
getParent()
Get the parent node.
|
java.lang.String |
getTooltipText()
Get the tooltip text.
|
boolean |
hasProperties()
True, if the node has properties that can be displayed.
|
boolean |
isLeaf()
Check if the node is a leaf.
|
void |
refresh(boolean recurse)
Refresh the node.
|
void dispose()
java.lang.Object getId()
ITreeNode getParent()
int getChildCount()
ITreeNode getChild(int index)
int getIndexOfChild(ITreeNode child)
boolean isLeaf()
byte[] getIcon()
java.lang.String getTooltipText()
void refresh(boolean recurse)
recurse
- Recursively refresh subnodes, if true.java.util.List<ITreeNode> getCachedChildren()
jadex.commons.future.IFuture<java.util.List<ITreeNode>> getChildren()
boolean hasProperties()