com.jstatcom.model.control
Class SymbolTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.jstatcom.model.control.SymbolTreeNode
All Implemented Interfaces:
SymbolListener, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public final class SymbolTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
implements SymbolListener

Treenode to be used with SymbolTree for displaying Symbol objects a JTree.

Author:
Markus Kraetzig
See Also:
Serialized Form

Field Summary
 Symbol symbol
          Symbol represented by this tree node.
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
SymbolTreeNode(Symbol symbol)
          Creates a tree node for a symbol.
 
Method Summary
 void valueChanged(SymbolEvent evt)
          Invokes repaint on symbol tree.
 
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, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

symbol

public final Symbol symbol
Symbol represented by this tree node.

Constructor Detail

SymbolTreeNode

public SymbolTreeNode(Symbol symbol)
Creates a tree node for a symbol.

Parameters:
symbol - that this node stands for
Method Detail

valueChanged

public void valueChanged(SymbolEvent evt)
Invokes repaint on symbol tree.

Specified by:
valueChanged in interface SymbolListener
Parameters:
evt - symbol event