Package jadex.base.gui.asynctree
Interface ISwingTreeNode
-
- All Superinterfaces:
ITreeNode
- All Known Subinterfaces:
IActiveComponentTreeNode,IFileNode
- All Known Implementing Classes:
AbstractSwingTreeNode,ComponentTreeNode,DirNode,FileNode,JarNode,NFPropertyContainerNode,NFPropertyNode,PlatformTreeNode,ProvidedServiceInfoNode,ProxyComponentTreeNode,PseudoProxyComponentTreeNode,RemoteDirNode,RemoteFileNode,RemoteJarNode,RequiredServiceNode,RIDNode,RootNode,ServiceContainerNode,ViewTreeNode
public interface ISwingTreeNode extends ITreeNode
Node for the component tree panel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISwingTreeNodegetChild(int index)Get the given child.IFuture<java.util.List<ITreeNode>>getChildren()Get the current children, i.e.ISwingTreeNodegetParent()Get the parent node.javax.swing.JComponentgetPropertiesComponent()Get or create a component displaying the node properties.javax.swing.IcongetSwingIcon()Get the icon for a node.-
Methods inherited from interface jadex.base.gui.asynctree.ITreeNode
dispose, getCachedChildren, getChildCount, getIcon, getId, getIndexOfChild, getTooltipText, hasProperties, isLeaf, refresh
-
-
-
-
Method Detail
-
getParent
ISwingTreeNode getParent()
Get the parent node.
-
getChild
ISwingTreeNode getChild(int index)
Get the given child.
-
getSwingIcon
javax.swing.Icon getSwingIcon()
Get the icon for a node.
-
getChildren
IFuture<java.util.List<ITreeNode>> getChildren()
Get the current children, i.e. start a new update process and provide the result as a future.- Specified by:
getChildrenin interfaceITreeNode
-
getPropertiesComponent
javax.swing.JComponent getPropertiesComponent()
Get or create a component displaying the node properties. Only to be called if hasProperties() is true;
-
-