org.mars_sim.msp.ui.standard
Class MarsTheme

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by javax.swing.plaf.metal.DefaultMetalTheme
          extended by javax.swing.plaf.metal.OceanTheme
              extended by org.mars_sim.msp.ui.standard.MarsTheme

public class MarsTheme
extends javax.swing.plaf.metal.OceanTheme

The MarsTheme class provides a custom color theme to the project UI.


Constructor Summary
MarsTheme()
           
 
Method Summary
protected  javax.swing.plaf.ColorUIResource getBlack()
           
 javax.swing.plaf.FontUIResource getControlTextFont()
           
 javax.swing.plaf.FontUIResource getMenuTextFont()
           
 java.lang.String getName()
          Returns the theme's name
protected  javax.swing.plaf.ColorUIResource getPrimary1()
           
protected  javax.swing.plaf.ColorUIResource getPrimary2()
           
protected  javax.swing.plaf.ColorUIResource getPrimary3()
           
protected  javax.swing.plaf.ColorUIResource getSecondary1()
           
protected  javax.swing.plaf.ColorUIResource getSecondary2()
           
protected  javax.swing.plaf.ColorUIResource getSecondary3()
           
 javax.swing.plaf.FontUIResource getSubTextFont()
           
 javax.swing.plaf.ColorUIResource getSystemTextColor()
           
 javax.swing.plaf.FontUIResource getSystemTextFont()
           
 javax.swing.plaf.FontUIResource getUserTextFont()
           
 javax.swing.plaf.FontUIResource getWindowTitleFont()
           
 
Methods inherited from class javax.swing.plaf.metal.OceanTheme
addCustomEntriesToTable, getControlTextColor, getDesktopColor, getInactiveControlTextColor, getMenuDisabledForeground
 
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, 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
 

Constructor Detail

MarsTheme

public MarsTheme()
Method Detail

getPrimary1

protected javax.swing.plaf.ColorUIResource getPrimary1()
Overrides:
getPrimary1 in class javax.swing.plaf.metal.OceanTheme

getPrimary2

protected javax.swing.plaf.ColorUIResource getPrimary2()
Overrides:
getPrimary2 in class javax.swing.plaf.metal.OceanTheme

getPrimary3

protected javax.swing.plaf.ColorUIResource getPrimary3()
Overrides:
getPrimary3 in class javax.swing.plaf.metal.OceanTheme

getSecondary1

protected javax.swing.plaf.ColorUIResource getSecondary1()
Overrides:
getSecondary1 in class javax.swing.plaf.metal.OceanTheme

getSecondary2

protected javax.swing.plaf.ColorUIResource getSecondary2()
Overrides:
getSecondary2 in class javax.swing.plaf.metal.OceanTheme

getSecondary3

protected javax.swing.plaf.ColorUIResource getSecondary3()
Overrides:
getSecondary3 in class javax.swing.plaf.metal.OceanTheme

getBlack

protected javax.swing.plaf.ColorUIResource getBlack()
Overrides:
getBlack in class javax.swing.plaf.metal.OceanTheme

getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
Overrides:
getControlTextFont 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

getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
Overrides:
getMenuTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
Overrides:
getWindowTitleFont in class javax.swing.plaf.metal.DefaultMetalTheme

getSubTextFont

public javax.swing.plaf.FontUIResource getSubTextFont()
Overrides:
getSubTextFont in class javax.swing.plaf.metal.DefaultMetalTheme

getSystemTextColor

public javax.swing.plaf.ColorUIResource getSystemTextColor()
Overrides:
getSystemTextColor in class javax.swing.plaf.metal.MetalTheme

getName

public java.lang.String getName()
Returns the theme's name

Overrides:
getName in class javax.swing.plaf.metal.OceanTheme
Returns:
name of theme