public class RequiredServiceNode extends AbstractSwingTreeNode
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RequiredServiceNode.ReqInfo |
| Modifier and Type | Field and Description |
|---|---|
protected jadex.bridge.IExternalAccess |
ea
The external access.
|
protected java.lang.String |
nid
The node id.
|
protected RequiredServiceProperties |
propcomp
The properties component (if any).
|
tree| Constructor and Description |
|---|
RequiredServiceNode(ISwingTreeNode parent,
AsyncSwingTreeModel model,
javax.swing.JTree tree,
jadex.bridge.service.RequiredServiceInfo info,
java.lang.String nid,
jadex.bridge.IExternalAccess ea)
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.
|
javax.swing.JComponent |
getPropertiesComponent()
Get or create a component displaying the node properties.
|
jadex.bridge.service.RequiredServiceInfo |
getServiceInfo()
Get the service info.
|
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 final java.lang.String nid
protected RequiredServiceProperties propcomp
protected jadex.bridge.IExternalAccess ea
public RequiredServiceNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, jadex.bridge.service.RequiredServiceInfo info, java.lang.String nid, jadex.bridge.IExternalAccess ea)
public jadex.bridge.service.RequiredServiceInfo getServiceInfo()
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 AbstractSwingTreeNodepublic 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.AbstractTreeNodeprotected void searchChildren()
searchChildren in class jadex.base.gui.asynctree.AbstractTreeNodepublic javax.swing.JComponent getPropertiesComponent()
getPropertiesComponent in interface ISwingTreeNodegetPropertiesComponent in class AbstractSwingTreeNode