public static class ButtonStatePainter.DummyPainter extends Object implements Painter<Component>
Painter
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)
Painter
Graphics2D
. The supplied graphics context may be modified - it's
state need not be restored upon completion of painting.