Class DefaultPainter
java.lang.Object
org.flexdock.plaf.resources.paint.DefaultPainter
- All Implemented Interfaces:
Painter
- Direct Known Subclasses:
EclipseGradientPainter,GradientPainter,MetalPainter,OfficeXPPainter,SkinLFPainter
- Author:
- Claudio Romano
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColorgetBackgroundColor(boolean active) protected Colorprotected Colorvoidpaint(Graphics g, int width, int height, boolean active, JComponent titlebar) voidsetPainterResource(PainterResource painterResource)
-
Field Details
-
DEFAULT_BG_COLOR
-
DEFAULT_BG_COLOR_ACTIVE
-
painterResource
-
-
Constructor Details
-
DefaultPainter
public DefaultPainter()
-
-
Method Details
-
paint
-
getBackgroundColor
-
getBackgroundColorInactive
-
getBackgroundColorActive
-
getPainterResource
- Specified by:
getPainterResourcein interfacePainter- Returns:
- Returns the painterResource.
-
setPainterResource
- Specified by:
setPainterResourcein interfacePainter- Parameters:
painterResource- The painterResource to set.
-