treemap
Class SliceLayout
java.lang.Object
treemap.AbstractMapLayout
treemap.SliceLayout
- All Implemented Interfaces:
- MapLayout
public class SliceLayout
- extends AbstractMapLayout
The original slice-and-dice layout for treemaps.
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(Mappable[] items,
Rect bounds)
Subclasses implement this method themselves. |
static void |
layout(Mappable[] items,
Rect bounds,
int orientation)
|
static void |
layoutBest(Mappable[] items,
int start,
int end,
Rect bounds)
|
static void |
layoutBest(Mappable[] items,
int start,
int end,
Rect bounds,
int order)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BEST
public static final int BEST
- See Also:
- Constant Field Values
ALTERNATE
public static final int ALTERNATE
- See Also:
- Constant Field Values
SliceLayout
public SliceLayout()
SliceLayout
public SliceLayout(int orientation)
layout
public void layout(Mappable[] items,
Rect bounds)
- Description copied from class:
AbstractMapLayout
- Subclasses implement this method themselves.
- Specified by:
layout
in class AbstractMapLayout
layoutBest
public static void layoutBest(Mappable[] items,
int start,
int end,
Rect bounds)
layoutBest
public static void layoutBest(Mappable[] items,
int start,
int end,
Rect bounds,
int order)
layout
public static void layout(Mappable[] items,
Rect bounds,
int orientation)
getName
public java.lang.String getName()
- Description copied from interface:
MapLayout
- Return a human-readable name for this layout;
used to label figures, tables, etc.
- Returns:
- String naming this layout.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
MapLayout
- Return a longer description of this layout;
Helpful in creating online-help,
interactive catalogs or indices to lists of algorithms.
- Returns:
- String describing this layout.