Class SymbolTreeNode

  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.jstatcom.model.control.SymbolTreeNode
All Implemented Interfaces:
SymbolListener,, 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.

Markus Kraetzig
See Also:
Serialized Form

Field Summary
 Symbol symbol
          Symbol represented by this tree node.
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
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


public final Symbol symbol
Symbol represented by this tree node.

Constructor Detail


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

symbol - that this node stands for
Method Detail


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

Specified by:
valueChanged in interface SymbolListener
evt - symbol event