public class SunburstNode
extends java.lang.Object
TreeNode whithin a SunburstTree.
It holds the computed left, right and depth value of a data.
| Constructor and Description |
|---|
SunburstNode(SunburstNode parent,
TreeNode data)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SunburstNode> |
children() |
void |
dump() |
SunburstNode |
findNode(int depth,
long number) |
TreePath2<TreeNode> |
getDataNodePath() |
int |
getDepth() |
long |
getExtent() |
long |
getLeft() |
int |
getMaxDepth() |
TreeNode |
getNode() |
long |
getRight() |
boolean |
isDescendant(SunburstNode node) |
boolean |
isLeaf() |
void |
renumber(NodeInfo info) |
public SunburstNode(SunburstNode parent, TreeNode data)
public TreeNode getNode()
public int getMaxDepth()
public void renumber(NodeInfo info)
public java.util.List<SunburstNode> children()
public void dump()
public boolean isLeaf()
public long getLeft()
public long getRight()
public long getExtent()
public int getDepth()
public boolean isDescendant(SunburstNode node)
public SunburstNode findNode(int depth, long number)