public class OfficeXPPainter extends DefaultPainter
Modifier and Type | Field and Description |
---|---|
static String |
GRADIENT_COLOR |
static String |
GRADIENT_COLOR_ACTIVE |
DEFAULT_BG_COLOR, DEFAULT_BG_COLOR_ACTIVE, painterResource
Constructor and Description |
---|
OfficeXPPainter() |
Modifier and Type | Method and Description |
---|---|
protected Color |
getGradientColor(boolean active) |
void |
paint(Graphics g,
int width,
int height,
boolean active,
JComponent titlebar) |
getBackgroundColor, getBackgroundColorActive, getBackgroundColorInactive, getPainterResource, setPainterResource
public static final String GRADIENT_COLOR
public static final String GRADIENT_COLOR_ACTIVE
public void paint(Graphics g, int width, int height, boolean active, JComponent titlebar)
paint
in interface Painter
paint
in class DefaultPainter
protected Color getGradientColor(boolean active)