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 ColorUIResourcestatic final Colorstatic final Colorstatic final Colorstatic final Colorprivate FontSetHolds the set of fonts used by this theme.static final Colorstatic final Colorprotected static final ColorUIResource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPlastic themes are equal if and only if their classes are the same.protected ColorUIResourcegetBlack()protected FontSetprotected ColorUIResourcegetWhite()inthashCode()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, getSecondary3Methods 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.
-
-
Constructor Details
-
PlasticTheme
public PlasticTheme()
-
-
Method Details
-
getBlack
- Overrides:
getBlackin classMetalTheme
-
getWhite
- Overrides:
getWhitein classMetalTheme
-
getSystemTextColor
- Overrides:
getSystemTextColorin classMetalTheme
-
getTitleTextColor
-
getMenuForeground
- Overrides:
getMenuForegroundin classMetalTheme
-
getMenuItemBackground
-
getMenuItemSelectedBackground
-
getMenuItemSelectedForeground
-
getSimpleInternalFrameForeground
-
getSimpleInternalFrameBackground
-
getToggleButtonCheckColor
-
getTitleTextFont
-
getControlTextFont
- Overrides:
getControlTextFontin classDefaultMetalTheme
-
getMenuTextFont
- Overrides:
getMenuTextFontin classDefaultMetalTheme
-
getSubTextFont
- Overrides:
getSubTextFontin classDefaultMetalTheme
-
getSystemTextFont
- Overrides:
getSystemTextFontin classDefaultMetalTheme
-
getUserTextFont
- Overrides:
getUserTextFontin classDefaultMetalTheme
-
getWindowTitleFont
- Overrides:
getWindowTitleFontin 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.
-