public class CirclemapCompositeNode extends CirclemapNode
TreeNode whithin a
CirclemapTree.| Constructor and Description |
|---|
CirclemapCompositeNode(CirclemapNode parent,
TreeNode node)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CirclemapNode> |
children() |
int |
getDescendantCount() |
boolean |
isLeaf() |
void |
layout(NodeInfo info,
ProgressObserver p)
Lays out the subtree starting at this data in a space-filling
circular treemap.
|
CirclemapNode |
newChildAdded(TreeNode c)
Call this method when a new child node has been added to the underlying
TreeNode.
|
void |
updateNodeLayout(NodeInfo info)
Updates the layout of this node only.
|
getDataNode, getDataNodePath, getParent, getWeightRadius, toString, updateParentLayoutsclone, contains, contains, contains, getCX, getCY, getIntersectionRadius, getRadius, intersects, intersectspublic CirclemapCompositeNode(CirclemapNode parent, TreeNode node)
public boolean isLeaf()
isLeaf in class CirclemapNodepublic java.util.List<CirclemapNode> children()
children in class CirclemapNodepublic void layout(NodeInfo info, ProgressObserver p)
CirclemapNodelayout in class CirclemapNodepublic void updateNodeLayout(NodeInfo info)
info - public int getDescendantCount()
getDescendantCount in class CirclemapNodepublic CirclemapNode newChildAdded(TreeNode c)
For performance reasons, this method will not update the layout of the circlemap.
c - the new child