org.jvnet.substance.theme
Class SubstanceTheme
java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
javax.swing.plaf.metal.OceanTheme
org.jvnet.substance.theme.SubstanceTheme
- Direct Known Subclasses:
- SubstanceAquaTheme, SubstanceBrownTheme, SubstanceLightAquaTheme, SubstanceLimeGreenTheme, SubstanceOliveTheme, SubstanceOrangeTheme, SubstancePurpleTheme, SubstanceSepiaTheme, SubstanceSteelBlueTheme, SubstanceSunGlareTheme, SubstanceSunsetTheme, SubstanceTerracottaTheme
public class SubstanceTheme
- extends OceanTheme
Theme for Substance
look and feel.
- Author:
- Kirill Grouchnikov
Field Summary |
protected static String |
commonDir
Common directory for Quaqua images. |
Methods inherited from class javax.swing.plaf.metal.MetalTheme |
getAcceleratorForeground, getAcceleratorSelectedForeground, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getFocusColor, getHighlightedTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commonDir
protected static final String commonDir
- Common directory for Quaqua images.
- See Also:
- Constant Field Values
SubstanceTheme
protected SubstanceTheme(ColorSchemeEnum colorSchemeEnum)
- Simple constructor. Made private to prevent direct instantiation in
client code.
- Parameters:
colorSchemeEnum
- Color scheme enum for this
theme.
getColorSchemeEnum
public ColorSchemeEnum getColorSchemeEnum()
- Returns the color scheme enum of the current theme.
- Returns:
- Color scheme enum of the current theme.
getThemeName
public String getThemeName()
- Returns the name of the current theme.
- Returns:
- The name of the current theme.
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)
- Overrides:
addCustomEntriesToTable
in class OceanTheme
getPrimary1
protected ColorUIResource getPrimary1()
- Overrides:
getPrimary1
in class OceanTheme
getPrimary2
protected ColorUIResource getPrimary2()
- Overrides:
getPrimary2
in class OceanTheme
getPrimary3
protected ColorUIResource getPrimary3()
- Overrides:
getPrimary3
in class OceanTheme
getSecondary1
protected ColorUIResource getSecondary1()
- Overrides:
getSecondary1
in class OceanTheme
getSecondary2
protected ColorUIResource getSecondary2()
- Overrides:
getSecondary2
in class OceanTheme
getSecondary3
protected ColorUIResource getSecondary3()
- Overrides:
getSecondary3
in class OceanTheme