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.IcongetObjectIcon()Returns theIconassociated with this object.java.lang.StringgetTreeLabel()Returns the label text to appear in a tree node.Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, destroy, getName, isDestroyed, issueTreeNode, setName, setTreeNode, updateTreeNodesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IconObjectReturns theIconassociated with this object.- Specified by:
getObjectIconin interfaceIconObject- Returns:
-
getTreeLabel
public java.lang.String getTreeLabel()Description copied from interface:TreeObjectReturns the label text to appear in a tree node.- Specified by:
getTreeLabelin interfaceTreeObject- Overrides:
getTreeLabelin classAbstractInterfaceObject- Returns:
-