Package com.jgoodies.looks.plastic
Class PlasticTheme
java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
com.jgoodies.looks.plastic.PlasticTheme
- Direct Known Subclasses:
InvertedColorTheme
,SkyBluer
Unlike its superclass this theme class has relaxed access.
- Version:
- $Revision: 1.11 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ColorUIResource
static final Color
static final Color
static final Color
static final Color
private FontSet
Holds the set of fonts used by this theme.static final Color
static final Color
protected static final ColorUIResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Plastic themes are equal if and only if their classes are the same.protected ColorUIResource
getBlack()
protected FontSet
protected ColorUIResource
getWhite()
int
hashCode()
Returns this theme's hash code, the classes' hash code.Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getName, getPrimary1, getPrimary2, getPrimary3, getSecondary1, getSecondary2, getSecondary3
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getTextHighlightColor, getUserTextColor, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground
-
Field Details
-
DARKEN_START
-
DARKEN_STOP
-
LT_DARKEN_STOP
-
BRIGHTEN_START
-
BRIGHTEN_STOP
-
LT_BRIGHTEN_STOP
-
WHITE
-
BLACK
-
fontSet
Holds the set of fonts used by this theme. It is lazily initialized using the shared FontPolicy provided by the PlasticLookAndFeel.- See Also:
-
-
Constructor Details
-
PlasticTheme
public PlasticTheme()
-
-
Method Details
-
getBlack
- Overrides:
getBlack
in classMetalTheme
-
getWhite
- Overrides:
getWhite
in classMetalTheme
-
getSystemTextColor
- Overrides:
getSystemTextColor
in classMetalTheme
-
getTitleTextColor
-
getMenuForeground
- Overrides:
getMenuForeground
in classMetalTheme
-
getMenuItemBackground
-
getMenuItemSelectedBackground
-
getMenuItemSelectedForeground
-
getSimpleInternalFrameForeground
-
getSimpleInternalFrameBackground
-
getToggleButtonCheckColor
-
getTitleTextFont
-
getControlTextFont
- Overrides:
getControlTextFont
in classDefaultMetalTheme
-
getMenuTextFont
- Overrides:
getMenuTextFont
in classDefaultMetalTheme
-
getSubTextFont
- Overrides:
getSubTextFont
in classDefaultMetalTheme
-
getSystemTextFont
- Overrides:
getSystemTextFont
in classDefaultMetalTheme
-
getUserTextFont
- Overrides:
getUserTextFont
in classDefaultMetalTheme
-
getWindowTitleFont
- Overrides:
getWindowTitleFont
in classDefaultMetalTheme
-
getFontSet
-
equals
Plastic themes are equal if and only if their classes are the same. -
hashCode
public int hashCode()Returns this theme's hash code, the classes' hash code.
-