java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
com.simscomputing.swing.SimsComputingTheme
- public class SimsComputingTheme
- extends javax.swing.plaf.metal.DefaultMetalTheme
This class provides a theme for the Java look-and-feel that's particular to Sims Computing.
Several Sims Computing apps could all share this common theme.
The primary and secondary colors are overridden from DefaultMetalTheme.
The fonts and other theme properties are left unaltered.
| Fields inherited from class javax.swing.plaf.metal.MetalTheme |
|
| 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, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
white
private static final javax.swing.plaf.ColorUIResource white
black
private static final javax.swing.plaf.ColorUIResource black
primary2
private final javax.swing.plaf.ColorUIResource primary2
secondary3
private final javax.swing.plaf.ColorUIResource secondary3
SimsComputingTheme
public SimsComputingTheme()
getName
public java.lang.String getName()
- Description copied from class:
javax.swing.plaf.metal.DefaultMetalTheme
- Returns the name of the theme.
getWhite
protected javax.swing.plaf.ColorUIResource getWhite()
- Description copied from class:
javax.swing.plaf.metal.MetalTheme
- Returns the color used for white.
getBlack
protected javax.swing.plaf.ColorUIResource getBlack()
- Description copied from class:
javax.swing.plaf.metal.MetalTheme
- Returns the color used for black.
getPrimary2
protected javax.swing.plaf.ColorUIResource getPrimary2()
- Description copied from class:
javax.swing.plaf.metal.DefaultMetalTheme
- Returns the second primary color for this theme.
getSecondary3
protected javax.swing.plaf.ColorUIResource getSecondary3()
- Description copied from class:
javax.swing.plaf.metal.DefaultMetalTheme
- Returns the third secondary color for this theme.