com.partnersoft.v3x.gui
Class GUITreeNode

java.lang.Object
  extended by org.jcon.data.TreeNode
      extended by com.partnersoft.v3x.gui.GUITreeNode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FilterNode

public class GUITreeNode
extends TreeNode

A node in a hierarchical tree intended for display on a GUI control.

See Also:
Serialized Form

Constructor Summary
GUITreeNode()
           
GUITreeNode(java.lang.String label, java.lang.String tooltip, javax.swing.Icon icon)
           
 
Method Summary
 javax.swing.Icon getIcon()
          The icon for the node.
 java.lang.String getLabel()
          The label for the node.
 int getPosition()
          Get integer position in sibling list.
 java.lang.String getTooltip()
          The tooltip for the node.
 boolean isLeaf()
          Is it a leaf?
 java.util.Iterator iterateChildren()
          List children, in desired order.
 void moveBackward()
          Move to position (current + 1) in sibling list.
 void moveForward()
          Move to position (current - 1) in sibling list.
 
Methods inherited from class org.jcon.data.TreeNode
addChild, getChildren, getParent, remove, removeChild, reparent, setChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUITreeNode

public GUITreeNode(java.lang.String label,
                   java.lang.String tooltip,
                   javax.swing.Icon icon)

GUITreeNode

public GUITreeNode()
Method Detail

getLabel

public java.lang.String getLabel()
The label for the node.


getTooltip

public java.lang.String getTooltip()
The tooltip for the node.


getIcon

public javax.swing.Icon getIcon()
The icon for the node.


isLeaf

public boolean isLeaf()
Is it a leaf?


iterateChildren

public java.util.Iterator iterateChildren()
List children, in desired order.


getPosition

public int getPosition()
Get integer position in sibling list.


moveForward

public void moveForward()
Move to position (current - 1) in sibling list. No effect if at beginning.


moveBackward

public void moveBackward()
Move to position (current + 1) in sibling list. No effect if at end.