|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metsci.glimpse.painter.treemap.SliceAndDiceLayout
public class SliceAndDiceLayout
Lays out the children in a simplistic manner. It just divides the bounding rectangle into n slices (direction depends on the level).
Constructor Summary | |
---|---|
SliceAndDiceLayout()
|
Method Summary | |
---|---|
java.awt.geom.Rectangle2D[] |
layout(java.awt.geom.Rectangle2D boundary,
double[] sizes,
int level)
Returns an array of bounding rectangles in the same order as the provides areas array. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SliceAndDiceLayout()
Method Detail |
---|
public java.awt.geom.Rectangle2D[] layout(java.awt.geom.Rectangle2D boundary, double[] sizes, int level)
TreeMapLayout
areas
array. The level indicates the current level in the hierarchy
(see NestedTreeMap.getLevel(int)
). The boundary
rectangle
contains the area within which all children should be layed out.
layout
in interface TreeMapLayout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |