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
public abstract class PlasticTheme
- extends javax.swing.plaf.metal.DefaultMetalTheme
Unlike its superclass this theme class has relaxed access.
- Version:
- $Revision: 1.6 $
- Author:
- Karsten Lentzsch
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DARKEN_START
public static final java.awt.Color DARKEN_START
DARKEN_STOP
public static final java.awt.Color DARKEN_STOP
LT_DARKEN_STOP
public static final java.awt.Color LT_DARKEN_STOP
BRIGHTEN_START
public static final java.awt.Color BRIGHTEN_START
BRIGHTEN_STOP
public static final java.awt.Color BRIGHTEN_STOP
LT_BRIGHTEN_STOP
public static final java.awt.Color LT_BRIGHTEN_STOP
WHITE
protected static final javax.swing.plaf.ColorUIResource WHITE
BLACK
protected static final javax.swing.plaf.ColorUIResource BLACK
PlasticTheme
public PlasticTheme()
getBlack
protected javax.swing.plaf.ColorUIResource getBlack()
- Overrides:
getBlack
in class javax.swing.plaf.metal.MetalTheme
getWhite
protected javax.swing.plaf.ColorUIResource getWhite()
- Overrides:
getWhite
in class javax.swing.plaf.metal.MetalTheme
getSystemTextColor
public javax.swing.plaf.ColorUIResource getSystemTextColor()
- Overrides:
getSystemTextColor
in class javax.swing.plaf.metal.MetalTheme
getTitleTextColor
public javax.swing.plaf.ColorUIResource getTitleTextColor()
getMenuForeground
public javax.swing.plaf.ColorUIResource getMenuForeground()
- Overrides:
getMenuForeground
in class javax.swing.plaf.metal.MetalTheme
getMenuItemBackground
public javax.swing.plaf.ColorUIResource getMenuItemBackground()
getMenuItemSelectedBackground
public javax.swing.plaf.ColorUIResource getMenuItemSelectedBackground()
getMenuItemSelectedForeground
public javax.swing.plaf.ColorUIResource getMenuItemSelectedForeground()
getSimpleInternalFrameForeground
public javax.swing.plaf.ColorUIResource getSimpleInternalFrameForeground()
getSimpleInternalFrameBackground
public javax.swing.plaf.ColorUIResource getSimpleInternalFrameBackground()
getToggleButtonCheckColor
public javax.swing.plaf.ColorUIResource getToggleButtonCheckColor()
getTitleTextFont
public javax.swing.plaf.FontUIResource getTitleTextFont()
getControlTextFont
public javax.swing.plaf.FontUIResource getControlTextFont()
- Overrides:
getControlTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getMenuTextFont
public javax.swing.plaf.FontUIResource getMenuTextFont()
- Overrides:
getMenuTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getSubTextFont
public javax.swing.plaf.FontUIResource getSubTextFont()
- Overrides:
getSubTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getSystemTextFont
public javax.swing.plaf.FontUIResource getSystemTextFont()
- Overrides:
getSystemTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getUserTextFont
public javax.swing.plaf.FontUIResource getUserTextFont()
- Overrides:
getUserTextFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getWindowTitleFont
public javax.swing.plaf.FontUIResource getWindowTitleFont()
- Overrides:
getWindowTitleFont
in class javax.swing.plaf.metal.DefaultMetalTheme
getFontSet
protected FontSet getFontSet()
equals
public boolean equals(java.lang.Object o)
- Plastic themes are equal if and only if their classes are the same.
- Overrides:
equals
in class java.lang.Object
- Returns:
- true if this theme is equal to the given object
hashCode
public int hashCode()
- Returns this theme's hash code, the classes' hash code.
- Overrides:
hashCode
in class java.lang.Object
- Returns:
- this theme's hash code
Copyright © 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.