public static class ButtonStatePainter.DummyPainter extends Object implements MacWidgetsPainter<Component>
MacWidgetsPainter that does no painting.| Constructor and Description |
|---|
ButtonStatePainter.DummyPainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(Graphics2D g,
Component component,
int width,
int height)
Renders to the given
Graphics2D. |
public void paint(Graphics2D g, Component component, int width, int height)
MacWidgetsPainterGraphics2D. The supplied graphics context may be modified - it's
state need not be restored upon completion of painting.paint in interface MacWidgetsPainter<Component>g - the graphics context to paint into. It's state need not be restored. Will not
be null.component - the object to be painted.width - the width within the object to paint.height - the height within the object to paint.