|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
General interface to an object that has a size and that is able to paint itself on
a Graphics at a specific position.
| Method Summary | |
java.awt.Dimension |
getSize(java.awt.Graphics g)
Returns the size of the Painter. |
void |
paint(java.awt.Graphics g,
int x,
int y)
Paints the target on the given Graphics. |
| Method Detail |
public java.awt.Dimension getSize(java.awt.Graphics g)
Painter.
g - The relevant Graphics context.
Painter.
public void paint(java.awt.Graphics g,
int x,
int y)
Graphics.
g - The Graphics object that is used to paint.x - The x coordinate of the upper left corner of the target.y - The y coordinate of the upper left corner of the target.
|
ReportCat 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||