Package jadex.base.gui.asynctree
Interface ITreeNode
- 
- All Known Subinterfaces:
- IActiveComponentTreeNode,- IFileNode,- ISwingTreeNode
 - All Known Implementing Classes:
- AbstractSwingTreeNode,- AbstractTreeNode,- ComponentTreeNode,- DirNode,- FileNode,- JarNode,- NFPropertyContainerNode,- NFPropertyNode,- PlatformTreeNode,- ProvidedServiceInfoNode,- ProxyComponentTreeNode,- PseudoProxyComponentTreeNode,- RemoteDirNode,- RemoteFileNode,- RemoteJarNode,- RequiredServiceNode,- RIDNode,- RootNode,- ServiceContainerNode,- ViewTreeNode
 
 public interface ITreeNodeNode for the component tree panel.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()Called when the node is removed or the tree is closed.java.util.List<ITreeNode>getCachedChildren()Get the cached children, i.e.ITreeNodegetChild(int index)Get the given child.intgetChildCount()Get the child count.IFuture<java.util.List<ITreeNode>>getChildren()Get the current children, i.e.byte[]getIcon()Get the icon for a node.java.lang.ObjectgetId()Get the id used for lookup.intgetIndexOfChild(ITreeNode child)Get the index of a child.ITreeNodegetParent()Get the parent node.java.lang.StringgetTooltipText()Get the tooltip text.booleanhasProperties()True, if the node has properties that can be displayed.booleanisLeaf()Check if the node is a leaf.voidrefresh(boolean recurse)Refresh the node.
 
- 
- 
- 
Method Detail- 
disposevoid dispose() Called when the node is removed or the tree is closed.
 - 
getIdjava.lang.Object getId() Get the id used for lookup.
 - 
getParentITreeNode getParent() Get the parent node.
 - 
getChildCountint getChildCount() Get the child count.
 - 
getChildITreeNode getChild(int index) Get the given child.
 - 
getIndexOfChildint getIndexOfChild(ITreeNode child) Get the index of a child.
 - 
isLeafboolean isLeaf() Check if the node is a leaf.
 - 
getIconbyte[] getIcon() Get the icon for a node.
 - 
getTooltipTextjava.lang.String getTooltipText() Get the tooltip text.
 - 
refreshvoid refresh(boolean recurse) Refresh the node.- Parameters:
- recurse- Recursively refresh subnodes, if true.
 
 - 
getCachedChildrenjava.util.List<ITreeNode> getCachedChildren() Get the cached children, i.e. do not start any background processes for updating the children.
 - 
getChildrenIFuture<java.util.List<ITreeNode>> getChildren() Get the current children, i.e. start a new update process and provide the result as a future.
 - 
hasPropertiesboolean hasProperties() True, if the node has properties that can be displayed.
 
- 
 
-