Package jadex.base.gui.componenttree
Class ProxyComponentTreeNode
- java.lang.Object
- 
- jadex.base.gui.asynctree.AbstractTreeNode
- 
- jadex.base.gui.asynctree.AbstractSwingTreeNode
- 
- jadex.base.gui.componenttree.ComponentTreeNode
- 
- jadex.base.gui.componenttree.PlatformTreeNode
- 
- jadex.base.gui.componenttree.ProxyComponentTreeNode
 
 
 
 
 
- 
- All Implemented Interfaces:
- ISwingTreeNode,- ITreeNode,- IActiveComponentTreeNode
 
 public class ProxyComponentTreeNode extends PlatformTreeNode Node that represents a remote component and blends in the tree of components as virtual children of this node.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IComponentIdentifiercidThe remote component identifier.protected static javax.swing.UIDefaultsiconsThe image icons.protected IProxyAgentService.StatestateThe connection state.- 
Fields inherited from class jadex.base.gui.componenttree.PlatformTreeNoderealchildren
 - 
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 ProxyComponentTreeNode(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 IComponentIdentifiergetComponentIdentifier()Get the cid.protected IFuture<IProxyAgentService.State>getConnectionState()Get the connection state.IFuture<IComponentIdentifier>getRemoteComponentIdentifier()Get the remote component identifier.javax.swing.IcongetSwingIcon()Get the icon for a node.booleanisConnected()Get the connected.protected voidsearchChildren()Asynchronously search for children.java.lang.StringtoString()Create a string representation.- 
Methods inherited from class jadex.base.gui.componenttree.PlatformTreeNodeaddChild, addChild, addNode, getChild, getChildApplications, getChildPlatforms, getChildSystem, insertNode, removeChild, removeNode, setChildren
 - 
Methods inherited from class jadex.base.gui.componenttree.ComponentTreeNodeaddCMSListener, createComponentNode, createNFPropertyNodes, dispose, getDescription, getIcon, getId, getPropertiesComponent, getTooltipText, hasProperties, refresh, searchChildren, setDescription
 - 
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- 
iconsprotected static final javax.swing.UIDefaults icons The image icons.
 - 
cidprotected IComponentIdentifier cid The remote component identifier.
 - 
stateprotected IProxyAgentService.State state The connection state.
 
- 
 - 
Constructor Detail- 
ProxyComponentTreeNodepublic ProxyComponentTreeNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, IComponentDescription desc, ComponentIconCache iconcache, IExternalAccess access) Create a new service container node.
 
- 
 - 
Method Detail- 
getComponentIdentifierpublic IComponentIdentifier getComponentIdentifier() Get the cid.- Specified by:
- getComponentIdentifierin interface- IActiveComponentTreeNode
- Overrides:
- getComponentIdentifierin class- ComponentTreeNode
- Returns:
- the cid.
 
 - 
getSwingIconpublic javax.swing.Icon getSwingIcon() Get the icon for a node.- Specified by:
- getSwingIconin interface- ISwingTreeNode
- Overrides:
- getSwingIconin class- PlatformTreeNode
 
 - 
searchChildrenprotected void searchChildren() Asynchronously search for children. Called once for each node. Should call setChildren() once children are found.- Overrides:
- searchChildrenin class- ComponentTreeNode
 
 - 
toStringpublic java.lang.String toString() Create a string representation.- Overrides:
- toStringin class- ComponentTreeNode
 
 - 
getRemoteComponentIdentifierpublic IFuture<IComponentIdentifier> getRemoteComponentIdentifier() Get the remote component identifier.- Returns:
- The remote identifier.
 
 - 
getConnectionStateprotected IFuture<IProxyAgentService.State> getConnectionState() Get the connection state.
 - 
isConnectedpublic boolean isConnected() Get the connected.- Returns:
- the connected.
 
 
- 
 
-