API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. DefaultMetalTheme View Source
Author(s)
Steve Wilson
Since
Version
1.31 07/12/06
Serial
Hierarchy
 Object
      MetalTheme
          DefaultMetalTheme
Implements
Subclasses
Description
public class DefaultMetalTheme
  A concrete implementation of MetalTheme providing the original look of the Java Look and Feel, code-named "Steel".
Constructors
public DefaultMetalTheme ()
Creates and returns an instance of DefaultMetalTheme.
Methods
Hide/Show inherited methods
public void addCustomEntriesToTable (UIDefaults table) [Inherited From MetalTheme]
  Adds values specific to this theme to the defaults table.
public ColorUIResource getAcceleratorForeground () [Inherited From MetalTheme]
  Returns the accelerator foreground color.
public ColorUIResource getAcceleratorSelectedForeground () [Inherited From MetalTheme]
  Returns the accelerator selected foreground color.
protected ColorUIResource getBlack () [Inherited From MetalTheme]
  Returns the black color.
public ColorUIResource getControl () [Inherited From MetalTheme]
  Returns the control color.
public ColorUIResource getControlDarkShadow () [Inherited From MetalTheme]
  Returns the control dark shadow color.
public ColorUIResource getControlDisabled () [Inherited From MetalTheme]
  Returns the control disabled color.
public ColorUIResource getControlHighlight () [Inherited From MetalTheme]
  Returns the control highlight color.
public ColorUIResource getControlInfo () [Inherited From MetalTheme]
  Returns the control info color.
public ColorUIResource getControlShadow () [Inherited From MetalTheme]
  Returns the control shadow color.
public ColorUIResource getControlTextColor () [Inherited From MetalTheme]
  Returns the control text color.
public FontUIResource getControlTextFont () [Specified in MetalTheme]
  Returns the control text font.
pack-privatestatic String getDefaultFontName (int key)
Returns the ideal font name for the font identified by key.
pack-privatestatic int getDefaultFontSize (int key)
Returns the ideal font size for the font identified by key.
pack-privatestatic int getDefaultFontStyle (int key)
Returns the ideal font style for the font identified by key.
pack-privatestatic String getDefaultPropertyName (int key)
Returns the default used to look up the specified font.
public ColorUIResource getDesktopColor () [Inherited From MetalTheme]
  Returns the desktop color.
public ColorUIResource getFocusColor () [Inherited From MetalTheme]
  Returns the focus color.
public ColorUIResource getHighlightedTextColor () [Inherited From MetalTheme]
  Returns the highlighted text color.
public ColorUIResource getInactiveControlTextColor () [Inherited From MetalTheme]
  Returns the inactive control text color.
public ColorUIResource getInactiveSystemTextColor () [Inherited From MetalTheme]
  Returns the inactive system text color.
public ColorUIResource getMenuBackground () [Inherited From MetalTheme]
  Returns the menu background color.
public ColorUIResource getMenuDisabledForeground () [Inherited From MetalTheme]
  Returns the menu disabled foreground color.
public ColorUIResource getMenuForeground () [Inherited From MetalTheme]
  Returns the menu foreground color.
public ColorUIResource getMenuSelectedBackground () [Inherited From MetalTheme]
  Returns the menu selected background color.
public ColorUIResource getMenuSelectedForeground () [Inherited From MetalTheme]
  Returns the menu selected foreground color.
public FontUIResource getMenuTextFont () [Specified in MetalTheme]
  Returns the menu text font.
public String getName () [Specified in MetalTheme]
  Returns the name of this theme.
protected ColorUIResource getPrimary1 () [Specified in MetalTheme]
  Returns the primary 1 color.
protected ColorUIResource getPrimary2 () [Specified in MetalTheme]
  Returns the primary 2 color.
protected ColorUIResource getPrimary3 () [Specified in MetalTheme]
  Returns the primary 3 color.
public ColorUIResource getPrimaryControl () [Inherited From MetalTheme]
  Returns the primary control color.
public ColorUIResource getPrimaryControlDarkShadow () [Inherited From MetalTheme]
  Returns the primary control dark shadow color.
public ColorUIResource getPrimaryControlHighlight () [Inherited From MetalTheme]
  Returns the primary control highlight color.
public ColorUIResource getPrimaryControlInfo () [Inherited From MetalTheme]
  Returns the primary control info color.
public ColorUIResource getPrimaryControlShadow () [Inherited From MetalTheme]
  Returns the primary control shadow color.
protected ColorUIResource getSecondary1 () [Specified in MetalTheme]
  Returns the secondary 1 color.
protected ColorUIResource getSecondary2 () [Specified in MetalTheme]
  Returns the secondary 2 color.
protected ColorUIResource getSecondary3 () [Specified in MetalTheme]
  Returns the secondary 3 color.
public ColorUIResource getSeparatorBackground () [Inherited From MetalTheme]
  Returns the separator background color.
public ColorUIResource getSeparatorForeground () [Inherited From MetalTheme]
  Returns the separator foreground color.
public FontUIResource getSubTextFont () [Specified in MetalTheme]
  Returns the sub-text font.
public ColorUIResource getSystemTextColor () [Inherited From MetalTheme]
  Returns the system text color.
public FontUIResource getSystemTextFont () [Specified in MetalTheme]
  Returns the system text font.
public ColorUIResource getTextHighlightColor () [Inherited From MetalTheme]
  Returns the text highlight color.
public ColorUIResource getUserTextColor () [Inherited From MetalTheme]
  Returns the user text color.
public FontUIResource getUserTextFont () [Specified in MetalTheme]
  Returns the user text font.
protected ColorUIResource getWhite () [Inherited From MetalTheme]
  Returns the white color.
public ColorUIResource getWindowBackground () [Inherited From MetalTheme]
  Returns the window background color.
public ColorUIResource getWindowTitleBackground () [Inherited From MetalTheme]
  Returns the window title background color.
public FontUIResource getWindowTitleFont () [Specified in MetalTheme]
  Returns the window title font.
public ColorUIResource getWindowTitleForeground () [Inherited From MetalTheme]
  Returns the window title foreground color.
public ColorUIResource getWindowTitleInactiveBackground () [Inherited From MetalTheme]
  Returns the window title inactive background color.
public ColorUIResource getWindowTitleInactiveForeground () [Inherited From MetalTheme]
  Returns the window title inactive foreground color.
pack-private void install () [Overrides MetalTheme]
pack-private boolean isSystemTheme () [Overrides MetalTheme]
Returns true if this is a theme provided by the core platform.
Fields
Hide/Show inherited fields
pack-privatefinalstatic int CONTROL_TEXT_FONT = "0" [Inherited From MetalTheme]
pack-privatefinalstatic int MENU_TEXT_FONT = "3" [Inherited From MetalTheme]
pack-privatefinalstatic int SUB_TEXT_FONT = "5" [Inherited From MetalTheme]
pack-privatefinalstatic int SYSTEM_TEXT_FONT = "1" [Inherited From MetalTheme]
pack-privatefinalstatic int USER_TEXT_FONT = "2" [Inherited From MetalTheme]
pack-privatestatic ColorUIResource white [Inherited From MetalTheme]
pack-privatefinalstatic int WINDOW_TITLE_FONT = "4" [Inherited From MetalTheme]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar