com.partnersoft.v3x.apps.Staker.FieldStaker
Class FilterNode

java.lang.Object
  extended by org.jcon.data.TreeNode
      extended by com.partnersoft.v3x.gui.GUITreeNode
          extended by com.partnersoft.v3x.apps.Staker.FieldStaker.FilterNode
All Implemented Interfaces:
java.io.Serializable

public class FilterNode
extends GUITreeNode
implements java.io.Serializable

A node in a unit filtering hierarchy.

See Also:
Serialized Form

Constructor Summary
FilterNode()
           
FilterNode(java.lang.String name, java.lang.String label)
           
 
Method Summary
 void detach()
          Removes this node and all children.
 javax.swing.Icon getIcon()
          The icon for the node.
 java.lang.String getIconName()
           
 java.lang.String getLabel()
          The label for the node.
 java.lang.String getName()
           
 java.lang.String getTooltip()
          The tooltip for the node.
 java.util.Set getUnitList()
           
 java.awt.Image icon()
           
 boolean isEmpty()
          Returns true if the node has neither children nor units.
 void setIconName(java.lang.String newIconName)
           
 void setLabel(java.lang.String newLabel)
           
 void setName(java.lang.String newName)
           
 void setUnitList(java.util.Set newUnitList)
           
 java.lang.String toString()
           
 java.util.Iterator units()
           
 
Methods inherited from class com.partnersoft.v3x.gui.GUITreeNode
getPosition, isLeaf, iterateChildren, moveBackward, moveForward
 
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, wait, wait, wait
 

Constructor Detail

FilterNode

public FilterNode()

FilterNode

public FilterNode(java.lang.String name,
                  java.lang.String label)
Method Detail

units

public java.util.Iterator units()

getTooltip

public java.lang.String getTooltip()
Description copied from class: GUITreeNode
The tooltip for the node.

Overrides:
getTooltip in class GUITreeNode

getIcon

public javax.swing.Icon getIcon()
Description copied from class: GUITreeNode
The icon for the node.

Overrides:
getIcon in class GUITreeNode

getName

public java.lang.String getName()

setName

public void setName(java.lang.String newName)

getIconName

public java.lang.String getIconName()

setIconName

public void setIconName(java.lang.String newIconName)

getLabel

public java.lang.String getLabel()
Description copied from class: GUITreeNode
The label for the node.

Overrides:
getLabel in class GUITreeNode

setLabel

public void setLabel(java.lang.String newLabel)

isEmpty

public boolean isEmpty()
Returns true if the node has neither children nor units.


getUnitList

public java.util.Set getUnitList()

setUnitList

public void setUnitList(java.util.Set newUnitList)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

icon

public java.awt.Image icon()

detach

public void detach()
Removes this node and all children. If this was the only child of a parent, converts the parent to a FilterLeaf.