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, setChildren
checkChildren, dispose, hashCode, removeAllChildren, setParent
protected 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.ITreeNode
getIcon
in class jadex.base.gui.asynctree.AbstractTreeNode
public javax.swing.Icon getSwingIcon()
getSwingIcon
in interface ISwingTreeNode
getSwingIcon
in class AbstractSwingTreeNode
protected void searchChildren()
searchChildren
in class jadex.base.gui.asynctree.AbstractTreeNode
protected jadex.commons.future.IFuture<java.lang.Class<?>> getServiceType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTooltipText()
getTooltipText
in interface jadex.base.gui.asynctree.ITreeNode
getTooltipText
in class jadex.base.gui.asynctree.AbstractTreeNode
public boolean hasProperties()
hasProperties
in interface jadex.base.gui.asynctree.ITreeNode
hasProperties
in class jadex.base.gui.asynctree.AbstractTreeNode
public javax.swing.JComponent getPropertiesComponent()
getPropertiesComponent
in interface ISwingTreeNode
getPropertiesComponent
in class AbstractSwingTreeNode
protected static java.lang.String getId(ISwingTreeNode parent, jadex.bridge.service.ProvidedServiceInfo service)