java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.greenstone.gatherer.gui.CreatePane.OptionTreeNode
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
- Enclosing class:
- CreatePane
- private class CreatePane.OptionTreeNode
- extends javax.swing.tree.DefaultMutableTreeNode
- implements java.lang.Comparable
The OptionTree is built from these nodes, each of which has several methods used in creating the option panes.
| 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 |
title
private java.lang.String title
- The text label given to this node in the tree.
tool_tip
private java.lang.String tool_tip
- a tool tip to be used for this node in the tree
CreatePane.OptionTreeNode
public CreatePane.OptionTreeNode(java.lang.String title)
- Constructor.
compareTo
public int compareTo(java.lang.Object obj)
- This method compares two nodes for ordering.
- Specified by:
compareTo in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object obj)
- This method checks if two nodes are equivalent.
getToolTipText
public java.lang.String getToolTipText()
- get the tool tip
setToolTipText
public void setToolTipText(java.lang.String tip)
- set the tool tip
toString
public java.lang.String toString()
- Method to translate this node into a textual representation.