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, removeChild
checkChildren, dispose, hashCode, hasProperties, removeAllChildren, setParent
public 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.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
public jadex.bridge.IExternalAccess getContainer()
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
protected void setChildren(java.util.List children)
setChildren
in class AbstractSwingTreeNode
public void setBroken(boolean broken)