|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.rolemodelsoft.drawlet.basics.AbstractPaintable
Provides a default implementation of Paintable.
| Constructor Summary | |
AbstractPaintable()
Creates a new AbstractPaintable. |
|
| Method Summary | |
int |
getBottom()
Returns the bottommost coordinate of the receiver. |
java.awt.Rectangle |
getBounds()
Answers the rectangular space covered by the receiver. |
int |
getHeight()
Returns the height of the receiver. |
int |
getLeft()
Returns the leftmost coordinate of the receiver. |
int |
getRight()
Returns the rightmost coordinate of the receiver. |
java.awt.Dimension |
getSize()
Returns the current size of the receiver. |
int |
getTop()
Returns the topmost coordinate of the receiver. |
int |
getWidth()
Returns the width of the receiver. |
void |
paint(java.awt.Graphics g)
Tells the receiver to paint itself. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AbstractPaintable()
| Method Detail |
public int getBottom()
public java.awt.Rectangle getBounds()
Rectangle representing the bounds.public int getHeight()
public int getLeft()
public int getRight()
public java.awt.Dimension getSize()
getBounds()public int getTop()
public int getWidth()
public void paint(java.awt.Graphics g)
g - the Graphics object in which to paint.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||