public class RectmapCompositeNode extends RectmapNode
cumulatedWeight, dataNodePath, parent| Constructor and Description |
|---|
RectmapCompositeNode(RectmapNode parent,
TreeNode data)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RectmapNode> |
children() |
int |
getDescendantCount() |
boolean |
isLeaf() |
void |
layout(ProgressObserver p)
Lays out the children of this composite node using the squarify algorithm
by Bruls, Huizing, and van Wijk, 2000.
|
void |
updateCumulatedWeight(NodeInfo info) |
getCumulatedWeight, getDataNodePath, getParent, toStringcreateIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRectadd, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionpublic RectmapCompositeNode(RectmapNode parent, TreeNode data)
public boolean isLeaf()
isLeaf in class RectmapNodepublic java.util.List<RectmapNode> children()
children in class RectmapNodepublic void updateCumulatedWeight(NodeInfo info)
updateCumulatedWeight in class RectmapNodepublic void layout(ProgressObserver p)
layout in class RectmapNodeinfo - public int getDescendantCount()
getDescendantCount in class RectmapNode