Package mgui.interfaces
Class InterfaceWorkspace.CollectionTreeNode
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.InterfaceWorkspace.CollectionTreeNode
- All Implemented Interfaces:
InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,IconObject
- Enclosing class:
- InterfaceWorkspace
public static class InterfaceWorkspace.CollectionTreeNode extends AbstractInterfaceObject implements TreeObject, IconObject
-
Field Summary
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes
-
Constructor Summary
Constructors Constructor Description CollectionTreeNode(java.lang.String icon_file, java.lang.String label)
-
Method Summary
Modifier and Type Method Description javax.swing.Icon
getObjectIcon()
Returns theIcon
associated with this object.java.lang.String
getTreeLabel()
Returns the label text to appear in a tree node.Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface mgui.interfaces.trees.TreeObject
issueTreeNode, setTreeNode
-
Constructor Details
-
CollectionTreeNode
public CollectionTreeNode(java.lang.String icon_file, java.lang.String label)
-
-
Method Details
-
getObjectIcon
public javax.swing.Icon getObjectIcon()Description copied from interface:IconObject
Returns theIcon
associated with this object.- Specified by:
getObjectIcon
in interfaceIconObject
- Returns:
-
getTreeLabel
public java.lang.String getTreeLabel()Description copied from interface:TreeObject
Returns the label text to appear in a tree node.- Specified by:
getTreeLabel
in interfaceTreeObject
- Overrides:
getTreeLabel
in classAbstractInterfaceObject
- Returns:
-