Class NonLeafNode

  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by easik.ui.tree.NonLeafNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class NonLeafNode
extends javax.swing.tree.DefaultMutableTreeNode

Tree node used for items that are forced to not be leaf.

2006-06-14 Kevin Green
2006-06-14 Kevin Green
Kevin Green 2006
See Also:
Serialized Form

Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor Summary
NonLeafNode(java.lang.Object inObj)
          Default constructor
Method Summary
 boolean isLeaf()
          Overwritten method to create a node that can never be a leaf
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, 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


public NonLeafNode(java.lang.Object inObj)
Default constructor

inObj - Object to be passed to superclass
Method Detail


public boolean isLeaf()
Overwritten method to create a node that can never be a leaf

Specified by:
isLeaf in interface javax.swing.tree.TreeNode
isLeaf in class javax.swing.tree.DefaultMutableTreeNode
Always return false because it is being forced to be a non leaf node