treemap
Class MapItem
java.lang.Object
treemap.MapItem
- All Implemented Interfaces:
- Mappable
public class MapItem
- extends java.lang.Object
- implements Mappable
A simple implementation of the Mappable interface.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapItem
public MapItem()
MapItem
public MapItem(double size,
int order)
getSize
public double getSize()
- Specified by:
getSize
in interface Mappable
setSize
public void setSize(double size)
- Specified by:
setSize
in interface Mappable
getBounds
public Rect getBounds()
- Specified by:
getBounds
in interface Mappable
setBounds
public void setBounds(Rect bounds)
- Specified by:
setBounds
in interface Mappable
setBounds
public void setBounds(double x,
double y,
double w,
double h)
- Specified by:
setBounds
in interface Mappable
getOrder
public int getOrder()
- Specified by:
getOrder
in interface Mappable
setOrder
public void setOrder(int order)
- Specified by:
setOrder
in interface Mappable
setDepth
public void setDepth(int depth)
- Specified by:
setDepth
in interface Mappable
getDepth
public int getDepth()
- Specified by:
getDepth
in interface Mappable
draw
public void draw()
- Specified by:
draw
in interface Mappable