org.sf.cafebabe.gadget.classtree
Class ShortNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.sf.cafebabe.gadget.classtree.ClassTreeNode
          extended by org.sf.cafebabe.gadget.classtree.ShortNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ShortNode
extends ClassTreeNode

This class represents the node with the short value

Version:
1.0 02/06/2002
Author:
Alexander Shvets
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ShortNode(java.lang.String text, short value)
          Creates new attribute node
 
Method Summary
 short getValue()
          Gets the short value
 
Methods inherited from class org.sf.cafebabe.gadget.classtree.ClassTreeNode
isChanged, isCorrect, setChanged, setCorrect
 
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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShortNode

public ShortNode(java.lang.String text,
                 short value)
Creates new attribute node

Parameters:
text - the text that will be displayed on the node
value - the short value
Method Detail

getValue

public short getValue()
Gets the short value

Returns:
the short value


Copyright 2006 Dream Programs Inc.. All Rights Reserved.