org.vizzini.util.tree
Class DefaultTreeNode

java.lang.Object
  extended by org.vizzini.util.tree.AbstractTreeNode
      extended by org.vizzini.util.tree.DefaultTreeNode
All Implemented Interfaces:
Cloneable, ITreeNode, IVisitable

public class DefaultTreeNode
extends AbstractTreeNode

Provides a default implementation of a tree node.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
DefaultTreeNode()
          Construct this object.
DefaultTreeNode(Object userObject)
          Construct this object with the given parameter.
DefaultTreeNode(Object userObject, boolean isChildAllowed)
          Construct this object with the given parameter.
 
Method Summary
 
Methods inherited from class org.vizzini.util.tree.AbstractTreeNode
acceptBreadthFirst, acceptDepthFirst, add, breadthFirstIterator, children, clone, createTreeNodeCollection, depthFirstIterator, dotDesc, dotLabel, dotLinkDesc, equals, fillCollectionBreadthFirst, fillCollectionChildren, fillCollectionDepthFirst, getBreadthFirstList, getChildAt, getChildCount, getChildren, getDepth, getDepthFirstList, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLevel, getNextSibling, getNodeCount, getParent, getPath, getRoot, getTreeNodeCollectionClass, getUserObject, hashCode, insert, isChildAllowed, isLeaf, isRoot, remove, remove, removeAllChildren, removeFromParent, setChildAllowed, setChildren, setParent, setTreeNodeCollectionClass, setUserObject, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTreeNode

public DefaultTreeNode()
Construct this object.

Since:
v0.3

DefaultTreeNode

public DefaultTreeNode(Object userObject)
Construct this object with the given parameter.

Parameters:
userObject - User object.
Since:
v0.3

DefaultTreeNode

public DefaultTreeNode(Object userObject,
                       boolean isChildAllowed)
Construct this object with the given parameter.

Parameters:
userObject - User object.
isChildAllowed - Flag indicating whether children are allowed.
Since:
v0.3


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02