public class ProvidedServiceInfoNode extends AbstractSwingTreeNode
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IExternalAccess |
ea
The external access.
|
protected jadex.bridge.IExternalAccess |
platformea
The platform external access.
|
protected ProvidedServiceInfoProperties |
propcomp
The properties component (if any).
|
protected jadex.bridge.service.IServiceIdentifier |
sid
The service id.
|
tree| Constructor and Description |
|---|
ProvidedServiceInfoNode(ISwingTreeNode parent,
AsyncSwingTreeModel model,
javax.swing.JTree tree,
jadex.bridge.service.ProvidedServiceInfo service,
jadex.bridge.service.IServiceIdentifier sid,
jadex.bridge.IExternalAccess ea,
jadex.bridge.IExternalAccess platformea)
Create a new service container node.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIcon()
Get the icon as byte[] for a node.
|
java.lang.Object |
getId()
Get the id used for lookup.
|
protected static java.lang.String |
getId(ISwingTreeNode parent,
jadex.bridge.service.ProvidedServiceInfo service)
Build the node id.
|
javax.swing.JComponent |
getPropertiesComponent()
Get or create a component displaying the node properties.
|
jadex.bridge.service.IServiceIdentifier |
getServiceIdentifier()
Get the sid.
|
jadex.bridge.service.ProvidedServiceInfo |
getServiceInfo()
Get the service.
|
protected jadex.commons.future.IFuture<java.lang.Class<?>> |
getServiceType() |
javax.swing.Icon |
getSwingIcon()
Get the icon for a node.
|
java.lang.String |
getTooltipText()
Get tooltip text.
|
boolean |
hasProperties()
True, if the node has properties that can be displayed.
|
protected void |
searchChildren()
Asynchronously search for children.
|
java.lang.String |
toString()
A string representation.
|
addChild, addChild, equals, expandChildren, getCachedChildren, getChild, getChildCount, getChildren, getIndexOfChild, getModel, getParent, getTree, isLeaf, refresh, removeChild, setChildrencheckChildren, dispose, hashCode, removeAllChildren, setParentprotected jadex.bridge.service.IServiceIdentifier sid
protected ProvidedServiceInfoProperties propcomp
protected jadex.bridge.IExternalAccess ea
protected jadex.bridge.IExternalAccess platformea
public ProvidedServiceInfoNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, jadex.bridge.service.ProvidedServiceInfo service, jadex.bridge.service.IServiceIdentifier sid, jadex.bridge.IExternalAccess ea, jadex.bridge.IExternalAccess platformea)
public jadex.bridge.service.ProvidedServiceInfo getServiceInfo()
public jadex.bridge.service.IServiceIdentifier getServiceIdentifier()
public java.lang.Object getId()
public byte[] getIcon()
getIcon in interface jadex.base.gui.asynctree.ITreeNodegetIcon in class jadex.base.gui.asynctree.AbstractTreeNodepublic javax.swing.Icon getSwingIcon()
getSwingIcon in interface ISwingTreeNodegetSwingIcon in class AbstractSwingTreeNodeprotected void searchChildren()
searchChildren in class jadex.base.gui.asynctree.AbstractTreeNodeprotected jadex.commons.future.IFuture<java.lang.Class<?>> getServiceType()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTooltipText()
getTooltipText in interface jadex.base.gui.asynctree.ITreeNodegetTooltipText in class jadex.base.gui.asynctree.AbstractTreeNodepublic boolean hasProperties()
hasProperties in interface jadex.base.gui.asynctree.ITreeNodehasProperties in class jadex.base.gui.asynctree.AbstractTreeNodepublic javax.swing.JComponent getPropertiesComponent()
getPropertiesComponent in interface ISwingTreeNodegetPropertiesComponent in class AbstractSwingTreeNodeprotected static java.lang.String getId(ISwingTreeNode parent, jadex.bridge.service.ProvidedServiceInfo service)