|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by objects that paint something.
Method Summary | |
java.awt.Dimension |
getMinimumSize(PaintContext context)
Returns the minimum size of the painter. |
java.awt.Dimension |
getPreferredSize(PaintContext context)
Returns the preferred size of the painter. |
void |
paint(PaintContext context,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Paints the Painter at the given location. |
Method Detail |
public java.awt.Dimension getPreferredSize(PaintContext context)
context
- Context for determining the preferred size.
public java.awt.Dimension getMinimumSize(PaintContext context)
context
- Context for determining the minimum size.
public void paint(PaintContext context, java.awt.Graphics g, int x, int y, int width, int height)
context
- Context for painting.g
- Graphics object to draw into.x
- X position to draw at.y
- Y position to draw at.width
- Width to draw into.height
- Height to draw into.
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |