treemap
Interface Mappable
- All Known Implementing Classes:
- MapItem, RecursiveTreemap, SimpleMapItem
public interface Mappable
Interface representing an object that can be placed
in a treemap layout.
The properties are:
- size: corresponds to area in map.
- order: the sort order of the item.
- depth: the depth in hierarchy.
- bounds: the bounding rectangle of the item in the map.
getSize
double getSize()
setSize
void setSize(double size)
getBounds
Rect getBounds()
setBounds
void setBounds(Rect bounds)
setBounds
void setBounds(double x,
double y,
double w,
double h)
getOrder
int getOrder()
setOrder
void setOrder(int order)
getDepth
int getDepth()
setDepth
void setDepth(int depth)
draw
void draw()