treemap
Class StripTreemap

java.lang.Object
  extended by treemap.StripTreemap
All Implemented Interfaces:
MapLayout

public class StripTreemap
extends java.lang.Object
implements MapLayout


Field Summary
static boolean DEBUG
           
 
Constructor Summary
StripTreemap()
           
 
Method Summary
 void debug(java.lang.String str)
           
 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.
 void setLookahead(boolean lookahead)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

StripTreemap

public StripTreemap()
Method Detail

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.

Specified by:
getName in interface MapLayout
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.

Specified by:
getDescription in interface MapLayout
Returns:
String describing this layout.

setLookahead

public void setLookahead(boolean lookahead)

layout

public void layout(MapModel model,
                   double x,
                   double y,
                   double w,
                   double h)
Description copied from interface: MapLayout
Arrange the items in the given MapModel to fill the given rectangle.

Specified by:
layout in interface MapLayout
Parameters:
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.

layout

public void layout(MapModel model,
                   Rect bounds)
Description copied from interface: MapLayout
Arrange the items in the given MapModel to fill the given rectangle.

Specified by:
layout in interface MapLayout
Parameters:
model - The MapModel.
bounds - The boundary rectangle for the layout.

debug

public void debug(java.lang.String str)