|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttreemap.PivotBySize
public class PivotBySize
Layout using the pivot-by-size algorithm. This is essentially a wrapper class for the OrderedTreemap class.
| Constructor Summary | |
|---|---|
PivotBySize()
|
|
| 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 PivotBySize()
| Method Detail |
|---|
public void layout(MapModel model,
Rect bounds)
MapLayout
layout in interface MapLayoutmodel - 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 MapLayoutmodel - 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 MapLayoutpublic 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 | ||||||||