Package org.flexdock.plaf.theme.officexp
Class OfficeXPPainter
- java.lang.Object
-
- org.flexdock.plaf.resources.paint.DefaultPainter
-
- org.flexdock.plaf.theme.officexp.OfficeXPPainter
-
- All Implemented Interfaces:
Painter
public class OfficeXPPainter extends DefaultPainter
- Author:
- Claudio Romano
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GRADIENT_COLOR
static java.lang.String
GRADIENT_COLOR_ACTIVE
-
Fields inherited from class org.flexdock.plaf.resources.paint.DefaultPainter
DEFAULT_BG_COLOR, DEFAULT_BG_COLOR_ACTIVE, painterResource
-
-
Constructor Summary
Constructors Constructor Description OfficeXPPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.Color
getGradientColor(boolean active)
void
paint(java.awt.Graphics g, int width, int height, boolean active, javax.swing.JComponent titlebar)
-
Methods inherited from class org.flexdock.plaf.resources.paint.DefaultPainter
getBackgroundColor, getBackgroundColorActive, getBackgroundColorInactive, getPainterResource, setPainterResource
-
-
-
-
Field Detail
-
GRADIENT_COLOR
public static final java.lang.String GRADIENT_COLOR
- See Also:
- Constant Field Values
-
GRADIENT_COLOR_ACTIVE
public static final java.lang.String GRADIENT_COLOR_ACTIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
paint
public void paint(java.awt.Graphics g, int width, int height, boolean active, javax.swing.JComponent titlebar)
- Specified by:
paint
in interfacePainter
- Overrides:
paint
in classDefaultPainter
-
getGradientColor
protected java.awt.Color getGradientColor(boolean active)
-
-