public class CirclemapNode extends Circle
TreeNode whithin a
CirclemapTree.
It holds the radius of the data as an absolute value. The location is held relative to the center of the parent data.
This data can layout its subtree in a space-filling circular treemap.
| Constructor and Description |
|---|
CirclemapNode(CirclemapNode parent,
TreeNode data) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CirclemapNode> |
children() |
TreeNode |
getDataNode() |
TreePath2<TreeNode> |
getDataNodePath() |
int |
getDescendantCount() |
CirclemapNode |
getParent() |
double |
getWeightRadius(NodeInfo info) |
boolean |
isLeaf() |
void |
layout(NodeInfo info,
ProgressObserver p)
Lays out the subtree starting at this data in a space-filling
circular treemap.
|
java.lang.String |
toString() |
void |
updateParentLayouts(NodeInfo info)
Updates the layout of all parent nodes.
|
clone, contains, contains, contains, getCX, getCY, getIntersectionRadius, getRadius, intersects, intersectspublic CirclemapNode(CirclemapNode parent, TreeNode data)
public java.util.List<CirclemapNode> children()
public boolean isLeaf()
public void layout(NodeInfo info, ProgressObserver p)
public double getWeightRadius(NodeInfo info)
public CirclemapNode getParent()
public TreeNode getDataNode()
public int getDescendantCount()
public void updateParentLayouts(NodeInfo info)
info -