|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double
ch.randelshofer.tree.rectmap.RectmapNode
ch.randelshofer.tree.rectmap.RectmapCompositeNode
public class RectmapCompositeNode
RectmapCompositeNode.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D |
|---|
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
| Field Summary |
|---|
| Fields inherited from class ch.randelshofer.tree.rectmap.RectmapNode |
|---|
cumulatedWeight, dataNodePath, parent |
| Fields inherited from class java.awt.geom.Rectangle2D.Double |
|---|
height, width, x, y |
| Fields inherited from class java.awt.geom.Rectangle2D |
|---|
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP |
| Constructor Summary | |
|---|---|
RectmapCompositeNode(RectmapNode parent,
TreeNode data)
Creates a new instance. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class ch.randelshofer.tree.rectmap.RectmapNode |
|---|
getCumulatedWeight, getDataNodePath, getParent, toString |
| Methods inherited from class java.awt.geom.Rectangle2D.Double |
|---|
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect |
| Methods inherited from class java.awt.geom.Rectangle2D |
|---|
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
| Methods inherited from class java.awt.geom.RectangularShape |
|---|
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RectmapCompositeNode(RectmapNode parent,
TreeNode data)
| Method Detail |
|---|
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
|
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 | ||||||||