Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.simscomputing.swing
Class SimsComputingTheme  view SimsComputingTheme download SimsComputingTheme.java

java.lang.Object
  extended byjavax.swing.plaf.metal.MetalTheme
      extended byjavax.swing.plaf.metal.DefaultMetalTheme
          extended bycom.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.


Field Summary
private static javax.swing.plaf.ColorUIResource black
           
private  javax.swing.plaf.ColorUIResource primary2
           
private  javax.swing.plaf.ColorUIResource secondary3
           
private static javax.swing.plaf.ColorUIResource white
           
 
Fields inherited from class javax.swing.plaf.metal.DefaultMetalTheme
 
Fields inherited from class javax.swing.plaf.metal.MetalTheme
 
Constructor Summary
SimsComputingTheme()
           
 
Method Summary
protected  javax.swing.plaf.ColorUIResource getBlack()
          Returns the color used for black.
 java.lang.String getName()
          Returns the name of the theme.
protected  javax.swing.plaf.ColorUIResource getPrimary2()
          Returns the second primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary3()
          Returns the third secondary color for this theme.
protected  javax.swing.plaf.ColorUIResource getWhite()
          Returns the color used for white.
 
Methods inherited from class javax.swing.plaf.metal.DefaultMetalTheme
getControlTextFont, getMenuTextFont, getPrimary1, getPrimary3, getSecondary1, getSecondary2, getSubTextFont, getSystemTextFont, getUserTextFont, getWindowTitleFont
 
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
 

Field Detail

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
Constructor Detail

SimsComputingTheme

public SimsComputingTheme()
Method Detail

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.