Treeviz 0.37 2010-10-17

ch.randelshofer.tree.hypertree
Class HTModelNode

java.lang.Object
  extended by ch.randelshofer.tree.hypertree.HTModelNode
Direct Known Subclasses:
HTModelNodeComposite

public class HTModelNode
extends java.lang.Object

The HTModelNode class implements encapsulation of a TreeNode for the model. It keeps the original euclidian coordinates of the data. It implements the Composite design pattern.


Field Summary
protected  HTModel model
           
protected  HTModelNodeComposite parent
           
protected  double weight
           
protected  ch.randelshofer.tree.hypertree.HTCoordE z
           
 
Method Summary
 TreePath2<TreeNode> getDataNodePath()
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

model

protected HTModel model

parent

protected HTModelNodeComposite parent

z

protected ch.randelshofer.tree.hypertree.HTCoordE z

weight

protected double weight
Method Detail

getDataNodePath

public TreePath2<TreeNode> getDataNodePath()

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of the object

Copyright 2007-2008 (c) Werner Randelshofer.
All rights reserved.