public class ServiceContainerNode extends AbstractSwingTreeNode
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
broken
Flag to indicate a broken service container (i.e.
|
protected jadex.bridge.IExternalAccess |
container
The service container.
|
protected static javax.swing.UIDefaults |
icons
The service container icon.
|
static java.lang.String |
NAME
The node name (used as id suffix and displayed in the tree).
|
tree| Constructor and Description |
|---|
ServiceContainerNode(ISwingTreeNode parent,
AsyncSwingTreeModel model,
javax.swing.JTree tree,
jadex.bridge.IExternalAccess container)
Create a new service container node.
|
| Modifier and Type | Method and Description |
|---|---|
jadex.bridge.IExternalAccess |
getContainer()
Get the container.
|
byte[] |
getIcon()
Get the icon as byte[] for a node.
|
java.lang.Object |
getId()
Get the id used for lookup.
|
javax.swing.Icon |
getSwingIcon()
Get the icon for a node.
|
java.lang.String |
getTooltipText()
Get tooltip text.
|
protected void |
searchChildren()
Asynchronously search for children.
|
void |
setBroken(boolean broken)
Set the broken flag.
|
protected void |
setChildren(java.util.List children)
Set the children.
|
java.lang.String |
toString()
A string representation.
|
addChild, addChild, equals, expandChildren, getCachedChildren, getChild, getChildCount, getChildren, getIndexOfChild, getModel, getParent, getPropertiesComponent, getTree, isLeaf, refresh, removeChildcheckChildren, dispose, hashCode, hasProperties, removeAllChildren, setParentpublic static final java.lang.String NAME
protected static final javax.swing.UIDefaults icons
protected jadex.bridge.IExternalAccess container
protected boolean broken
public ServiceContainerNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, jadex.bridge.IExternalAccess container)
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.AbstractTreeNodepublic jadex.bridge.IExternalAccess getContainer()
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.AbstractTreeNodeprotected void setChildren(java.util.List children)
setChildren in class AbstractSwingTreeNodepublic void setBroken(boolean broken)