edu.iastate.reload.skin
Class DefaultMetalThemeX

java.lang.Object
  extended by javax.swing.plaf.metal.MetalTheme
      extended by edu.iastate.reload.skin.DefaultMetalThemeX
Direct Known Subclasses:
MetNetMetalTheme, OceanThemeX

public class DefaultMetalThemeX
extends javax.swing.plaf.metal.MetalTheme

The default theme for the MetalLookAndFeel.

See Also:
MetalLookAndFeel.setCurrentTheme(MetalTheme)

Constructor Summary
DefaultMetalThemeX()
          Creates a new instance of this theme.
 
Method Summary
 javax.swing.plaf.FontUIResource getControlTextFont()
          Returns the font used for text on controls.
 javax.swing.plaf.FontUIResource getMenuTextFont()
          Returns the font used for text in menus.
 java.lang.String getName()
          Returns the name of the theme.
protected  javax.swing.plaf.ColorUIResource getPrimary1()
          Returns the first primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getPrimary2()
          Returns the second primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getPrimary3()
          Returns the third primary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary1()
          Returns the first secondary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary2()
          Returns the second secondary color for this theme.
protected  javax.swing.plaf.ColorUIResource getSecondary3()
          Returns the third secondary color for this theme.
 javax.swing.plaf.FontUIResource getSubTextFont()
          Returns the font used for sub text.
 javax.swing.plaf.FontUIResource getSystemTextFont()
          Returns the font used for system text.
 javax.swing.plaf.FontUIResource getUserTextFont()
          Returns the font used for user text.
 javax.swing.plaf.FontUIResource getWindowTitleFont()
          Returns the font used for window titles.
 
Methods inherited from class javax.swing.plaf.metal.MetalTheme
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, 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, 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

DefaultMetalThemeX

public DefaultMetalThemeX()
Creates a new instance of this theme.

Method Detail

getName

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

Specified by:
getName in class javax.swing.plaf.metal.MetalTheme
Returns:
"Steel".

getPrimary1

protected javax.swing.plaf.ColorUIResource getPrimary1()
Returns the first primary color for this theme.

Specified by:
getPrimary1 in class javax.swing.plaf.metal.MetalTheme
Returns:
The first primary color.

getPrimary2

protected javax.swing.plaf.ColorUIResource getPrimary2()
Returns the second primary color for this theme.

Specified by:
getPrimary2 in class javax.swing.plaf.metal.MetalTheme
Returns:
The second primary color.

getPrimary3

protected javax.swing.plaf.ColorUIResource getPrimary3()
Returns the third primary color for this theme.

Specified by:
getPrimary3 in class javax.swing.plaf.metal.MetalTheme
Returns:
The third primary color.

getSecondary1

protected javax.swing.plaf.ColorUIResource getSecondary1()
Returns the first secondary color for this theme.

Specified by:
getSecondary1 in class javax.swing.plaf.metal.MetalTheme
Returns:
The first secondary color.

getSecondary2

protected javax.swing.plaf.ColorUIResource getSecondary2()
Returns the second secondary color for this theme.

Specified by:
getSecondary2 in class javax.swing.plaf.metal.MetalTheme
Returns:
The second secondary color.

getSecondary3

protected javax.swing.plaf.ColorUIResource getSecondary3()
Returns the third secondary color for this theme.

Specified by:
getSecondary3 in class javax.swing.plaf.metal.MetalTheme
Returns:
The third secondary color.

getControlTextFont

public javax.swing.plaf.FontUIResource getControlTextFont()
Returns the font used for text on controls. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).

Specified by:
getControlTextFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font.

getMenuTextFont

public javax.swing.plaf.FontUIResource getMenuTextFont()
Returns the font used for text in menus. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).

Specified by:
getMenuTextFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font used for text in menus.

getSubTextFont

public javax.swing.plaf.FontUIResource getSubTextFont()
Returns the font used for sub text. In this case, the font is FontUIResource("Dialog", Font.PLAIN, 10).

Specified by:
getSubTextFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font used for sub text.

getSystemTextFont

public javax.swing.plaf.FontUIResource getSystemTextFont()
Returns the font used for system text. In this case, the font is FontUIResource("Dialog", Font.PLAIN, 12).

Specified by:
getSystemTextFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font used for system text.

getUserTextFont

public javax.swing.plaf.FontUIResource getUserTextFont()
Returns the font used for user text. In this case, the font is FontUIResource("Dialog", Font.PLAIN, 12).

Specified by:
getUserTextFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font used for user text.

getWindowTitleFont

public javax.swing.plaf.FontUIResource getWindowTitleFont()
Returns the font used for window titles. In this case, the font is FontUIResource("Dialog", Font.BOLD, 12).

Specified by:
getWindowTitleFont in class javax.swing.plaf.metal.MetalTheme
Returns:
The font used for window titles.