Package jadex.base.gui.componenttree
Class PlatformTreeNode
- java.lang.Object
- 
- jadex.base.gui.asynctree.AbstractTreeNode
- 
- jadex.base.gui.asynctree.AbstractSwingTreeNode
- 
- jadex.base.gui.componenttree.ComponentTreeNode
- 
- jadex.base.gui.componenttree.PlatformTreeNode
 
 
 
 
- 
- All Implemented Interfaces:
- ISwingTreeNode,- ITreeNode,- IActiveComponentTreeNode
 - Direct Known Subclasses:
- ProxyComponentTreeNode
 
 public class PlatformTreeNode extends ComponentTreeNode The platform tree nodes displays a Jadex platform with views that group components into predefined folders (proxy, application, system).
- 
- 
Field SummaryFields Modifier and Type Field Description static javax.swing.UIDefaultsiconsThe image icons.protected java.util.List<? extends ITreeNode>realchildrenThe real children.- 
Fields inherited from class jadex.base.gui.componenttree.ComponentTreeNodeaccess, broken, busy, cmslistener, desc, iconcache, propcomp
 - 
Fields inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNodetree
 - 
Fields inherited from class jadex.base.gui.asynctree.AbstractTreeNodechildrenfuture, dirty, model, parent, recurse, searching
 
- 
 - 
Constructor SummaryConstructors Constructor Description PlatformTreeNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, IComponentDescription desc, ComponentIconCache iconcache, IExternalAccess access)Create a new service container node.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(int index, ITreeNode node)Add a child and update the tree.voidaddChild(ITreeNode node)Add a child and update the tree.protected voidaddNode(ITreeNode node)protected ViewTreeNodegetChild(java.lang.String name)protected ViewTreeNodegetChildApplications()protected ViewTreeNodegetChildPlatforms()protected ViewTreeNodegetChildSystem()javax.swing.IcongetSwingIcon()Get the icon for a node.protected voidinsertNode(ITreeNode node)voidremoveChild(ITreeNode node)Remove a child and update the tree.protected voidremoveNode(ITreeNode node)protected voidsetChildren(java.util.List<? extends ITreeNode> newchildren)Set the children.- 
Methods inherited from class jadex.base.gui.componenttree.ComponentTreeNodeaddCMSListener, createComponentNode, createNFPropertyNodes, dispose, getComponentIdentifier, getDescription, getIcon, getId, getPropertiesComponent, getTooltipText, hasProperties, refresh, searchChildren, searchChildren, setDescription, toString
 - 
Methods inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNodeequals, expandChildren, getCachedChildren, getChild, getChildCount, getChildren, getIndexOfChild, getModel, getParent, getTree, isLeaf
 - 
Methods inherited from class jadex.base.gui.asynctree.AbstractTreeNodecheckChildren, hashCode, removeAllChildren, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.base.gui.asynctree.ISwingTreeNodegetChild, getChildren, getParent
 - 
Methods inherited from interface jadex.base.gui.asynctree.ITreeNodegetCachedChildren, getChildCount, getIndexOfChild, isLeaf
 
- 
 
- 
- 
- 
Field Detail- 
iconspublic static final javax.swing.UIDefaults icons The image icons.
 - 
realchildrenprotected java.util.List<? extends ITreeNode> realchildren The real children.
 
- 
 - 
Constructor Detail- 
PlatformTreeNodepublic PlatformTreeNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, IComponentDescription desc, ComponentIconCache iconcache, IExternalAccess access) Create a new service container node.
 
- 
 - 
Method Detail- 
setChildrenprotected void setChildren(java.util.List<? extends ITreeNode> newchildren) Description copied from class:AbstractSwingTreeNodeSet the children. No children should be represented as empty list to avoid ongoing search for children.- Overrides:
- setChildrenin class- AbstractSwingTreeNode
 
 - 
getChildPlatformsprotected ViewTreeNode getChildPlatforms() - Parameters:
- name-
- Returns:
 
 - 
getChildApplicationsprotected ViewTreeNode getChildApplications() - Parameters:
- name-
- Returns:
 
 - 
getChildSystemprotected ViewTreeNode getChildSystem() - Parameters:
- name-
- Returns:
 
 - 
getChildprotected ViewTreeNode getChild(java.lang.String name) - Parameters:
- name-
- Returns:
 
 - 
addNodeprotected void addNode(ITreeNode node) 
 - 
removeNodeprotected void removeNode(ITreeNode node) 
 - 
insertNodeprotected void insertNode(ITreeNode node) 
 - 
addChildpublic void addChild(int index, ITreeNode node)Description copied from class:AbstractSwingTreeNodeAdd a child and update the tree. Must be called from swing thread.- Overrides:
- addChildin class- AbstractSwingTreeNode
 
 - 
addChildpublic void addChild(ITreeNode node) Description copied from class:AbstractSwingTreeNodeAdd a child and update the tree. Must be called from swing thread.- Overrides:
- addChildin class- AbstractSwingTreeNode
 
 - 
removeChildpublic void removeChild(ITreeNode node) Description copied from class:AbstractSwingTreeNodeRemove a child and update the tree. Must be called from swing thread.- Overrides:
- removeChildin class- AbstractSwingTreeNode
 
 - 
getSwingIconpublic javax.swing.Icon getSwingIcon() Get the icon for a node.- Specified by:
- getSwingIconin interface- ISwingTreeNode
- Overrides:
- getSwingIconin class- ComponentTreeNode
 
 
- 
 
-