| org.cougaar.mlm.debug.ui.UITreeNode org.cougaar.mlm.debug.ui.UIAssetNode
UIAssetNode | public class UIAssetNode extends UITreeNode (Code) | | A tree node for an asset.
Overrides the UITreeNode loadChildren, toString and isLeaf
methods to dynamically display the asset which has no children.
|
Method Summary | |
public boolean | isLeaf() The Asset is a leaf. | public void | loadChildren() Prints an error message inidicating this
shouldn't be called because this is a leaf. | public String | toString() Return the representation of a Asset in a tree. |
UIAssetNode | public UIAssetNode(Asset asset, String prefix)(Code) | | Create a tree node for the Asset.
Parameters: asset - the asset for which to create a tree node |
isLeaf | public boolean isLeaf()(Code) | | The Asset is a leaf.
true |
loadChildren | public void loadChildren()(Code) | | Prints an error message inidicating this
shouldn't be called because this is a leaf.
|
toString | public String toString()(Code) | | Return the representation of a Asset in a tree.
This is the asset name, and
for physical objects, the serial number, if specified,
and the capabilities.
asset name followed by serial number (optional) and capabilities |
|
|