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