Package adams.gui.goe.classtree
Class GlobalInfoNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- adams.gui.core.BaseTreeNode
-
- adams.gui.core.dotnotationtree.AbstractInfoNode
-
- adams.gui.goe.classtree.GlobalInfoNode
-
- All Implemented Interfaces:
Transferable,Serializable,Cloneable,MutableTreeNode,TreeNode
public class GlobalInfoNode extends AbstractInfoNode
Specialized tree node displaying the global info.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_GlobalInfothe global info.-
Fields inherited from class adams.gui.core.dotnotationtree.AbstractInfoNode
m_Icon, m_Label
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Constructor Summary
Constructors Constructor Description GlobalInfoNode(String classname, String info)Initializes the node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGlobalInfo()Returns the currently stored global info.protected StringgetIconName()Returns the name of the icon to use for display in the tree.voidsetGlobalInfo(String value)Sets the global info to display.-
Methods inherited from class adams.gui.core.dotnotationtree.AbstractInfoNode
getIcon, getItem, toHtml
-
Methods inherited from class adams.gui.core.BaseTreeNode
getChildren, getTransferData, getTransferDataFlavors, isDataFlavorSupported, toPlainText, toTransferable
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-
-
-
Field Detail
-
m_GlobalInfo
protected String m_GlobalInfo
the global info.
-
-
Method Detail
-
getIconName
protected String getIconName()
Returns the name of the icon to use for display in the tree.- Specified by:
getIconNamein classAbstractInfoNode- Returns:
- the name (no path)
-
setGlobalInfo
public void setGlobalInfo(String value)
Sets the global info to display.- Parameters:
value- the global info
-
getGlobalInfo
public String getGlobalInfo()
Returns the currently stored global info.- Returns:
- the info
-
-