Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.greenstone.gatherer.gui
Class CreatePane.OptionTreeNode  view CreatePane.OptionTreeNode download CreatePane.OptionTreeNode.java

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.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.


Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private  java.lang.String title
          The text label given to this node in the tree.
private  java.lang.String tool_tip
          a tool tip to be used for this node in the tree
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
CreatePane.OptionTreeNode(java.lang.String title)
          Constructor.
 
Method Summary
 int compareTo(java.lang.Object obj)
          This method compares two nodes for ordering.
 boolean equals(java.lang.Object obj)
          This method checks if two nodes are equivalent.
 java.lang.String getToolTipText()
          get the tool tip
 void setToolTipText(java.lang.String tip)
          set the tool tip
 java.lang.String toString()
          Method to translate this node into a textual representation.
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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

Constructor Detail

CreatePane.OptionTreeNode

public CreatePane.OptionTreeNode(java.lang.String title)
Constructor.

Method Detail

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.