|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object treemap.PivotBySplitSize
public class PivotBySplitSize
Layout using the pivot-by-split-size algorithm. This is essentially a wrapper class for the OrderedTreemap class.
Constructor Summary | |
---|---|
PivotBySplitSize()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Return a longer description of this layout; Helpful in creating online-help, interactive catalogs or indices to lists of algorithms. |
java.lang.String |
getName()
Return a human-readable name for this layout; used to label figures, tables, etc. |
void |
layout(MapModel model,
double x,
double y,
double w,
double h)
Arrange the items in the given MapModel to fill the given rectangle. |
void |
layout(MapModel model,
Rect bounds)
Arrange the items in the given MapModel to fill the given rectangle. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PivotBySplitSize()
Method Detail |
---|
public void layout(MapModel model, Rect bounds)
MapLayout
layout
in interface MapLayout
model
- The MapModel.bounds
- The boundary rectangle for the layout.public void layout(MapModel model, double x, double y, double w, double h)
MapLayout
layout
in interface MapLayout
model
- The MapModel.x
- coordinate of the layout bounds.y
- coordinate of the layout bounds.w
- width of the layout bounds.h
- height of the layout bounds.public java.lang.String getName()
MapLayout
getName
in interface MapLayout
public java.lang.String getDescription()
MapLayout
getDescription
in interface MapLayout
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |