|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.tree.hypertree.HyperTree
public class HyperTree
The HyperTree class implements an hyperbolic tree representation for data.
An HyperTree is build from hierarchical data, given as a tree of TreeNode. So, the first parameter to give to build an HyperTree is the TreeNode which is the root of the to-be-represented tree. The tree to be displayed by the HyperTree should be build before the call to HyperTree, that is the root node should return children when the children() method is called.
You can get a HTView (herited from JView) containing the HyperTree by calling getView().
| Constructor Summary | |
|---|---|
HyperTree(TreeNode root,
NodeInfo info)
Constructor. |
|
| Method Summary | |
|---|---|
NodeInfo |
getInfo()
|
SwingHTView |
getView()
Returns a view of the hypertree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HyperTree(TreeNode root,
NodeInfo info)
root - the root of the tree to be represented;
could not be null| Method Detail |
|---|
public SwingHTView getView()
public NodeInfo getInfo()
|
Copyright 2007-2008 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||