API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalTheme View Source
Author(s)
Steve Wilson
Since
Version
1.29 07/12/06
Serial
Hierarchy
 Object
      MetalTheme
Implements
Subclasses
Description
publicabstract abstract class MetalTheme
  MetalTheme provides the color palette and fonts used by the Java Look and Feel.
Constructors
public MetalTheme ()
Methods
Hide/Show inherited methods
public void addCustomEntriesToTable (UIDefaults table)
  Adds values specific to this theme to the defaults table.
public ColorUIResource getAcceleratorForeground ()
  Returns the accelerator foreground color.
public ColorUIResource getAcceleratorSelectedForeground ()
  Returns the accelerator selected foreground color.
protected ColorUIResource getBlack ()
  Returns the black color.
public ColorUIResource getControl ()
  Returns the control color.
public ColorUIResource getControlDarkShadow ()
  Returns the control dark shadow color.
public ColorUIResource getControlDisabled ()
  Returns the control disabled color.
public ColorUIResource getControlHighlight ()
  Returns the control highlight color.
public ColorUIResource getControlInfo ()
  Returns the control info color.
public ColorUIResource getControlShadow ()
  Returns the control shadow color.
public ColorUIResource getControlTextColor ()
  Returns the control text color.
publicabstract FontUIResource getControlTextFont ()
  Returns the control text font.
public ColorUIResource getDesktopColor ()
  Returns the desktop color.
public ColorUIResource getFocusColor ()
  Returns the focus color.
public ColorUIResource getHighlightedTextColor ()
  Returns the highlighted text color.
public ColorUIResource getInactiveControlTextColor ()
  Returns the inactive control text color.
public ColorUIResource getInactiveSystemTextColor ()
  Returns the inactive system text color.
public ColorUIResource getMenuBackground ()
  Returns the menu background color.
public ColorUIResource getMenuDisabledForeground ()
  Returns the menu disabled foreground color.
public ColorUIResource getMenuForeground ()
  Returns the menu foreground color.
public ColorUIResource getMenuSelectedBackground ()
  Returns the menu selected background color.
public ColorUIResource getMenuSelectedForeground ()
  Returns the menu selected foreground color.
publicabstract FontUIResource getMenuTextFont ()
  Returns the menu text font.
publicabstract String getName ()
  Returns the name of this theme.
protectedabstract ColorUIResource getPrimary1 ()
  Returns the primary 1 color.
protectedabstract ColorUIResource getPrimary2 ()
  Returns the primary 2 color.
protectedabstract ColorUIResource getPrimary3 ()
  Returns the primary 3 color.
public ColorUIResource getPrimaryControl ()
  Returns the primary control color.
public ColorUIResource getPrimaryControlDarkShadow ()
  Returns the primary control dark shadow color.
public ColorUIResource getPrimaryControlHighlight ()
  Returns the primary control highlight color.
public ColorUIResource getPrimaryControlInfo ()
  Returns the primary control info color.
public ColorUIResource getPrimaryControlShadow ()
  Returns the primary control shadow color.
protectedabstract ColorUIResource getSecondary1 ()
  Returns the secondary 1 color.
protectedabstract ColorUIResource getSecondary2 ()
  Returns the secondary 2 color.
protectedabstract ColorUIResource getSecondary3 ()
  Returns the secondary 3 color.
public ColorUIResource getSeparatorBackground ()
  Returns the separator background color.
public ColorUIResource getSeparatorForeground ()
  Returns the separator foreground color.
publicabstract FontUIResource getSubTextFont ()
  Returns the sub-text font.
public ColorUIResource getSystemTextColor ()
  Returns the system text color.
publicabstract FontUIResource getSystemTextFont ()
  Returns the system text font.
public ColorUIResource getTextHighlightColor ()
  Returns the text highlight color.
public ColorUIResource getUserTextColor ()
  Returns the user text color.
publicabstract FontUIResource getUserTextFont ()
  Returns the user text font.
protected ColorUIResource getWhite ()
  Returns the white color.
public ColorUIResource getWindowBackground ()
  Returns the window background color.
public ColorUIResource getWindowTitleBackground ()
  Returns the window title background color.
publicabstract FontUIResource getWindowTitleFont ()
  Returns the window title font.
public ColorUIResource getWindowTitleForeground ()
  Returns the window title foreground color.
public ColorUIResource getWindowTitleInactiveBackground ()
  Returns the window title inactive background color.
public ColorUIResource getWindowTitleInactiveForeground ()
  Returns the window title inactive foreground color.
pack-private void install ()
  This is invoked when a MetalLookAndFeel is installed and about to start using this theme.
pack-private boolean isSystemTheme ()
Returns true if this is a theme provided by the core platform.
Fields
Hide/Show inherited fields
pack-privatefinalstatic int CONTROL_TEXT_FONT = "0"
pack-privatefinalstatic int MENU_TEXT_FONT = "3"
pack-privatefinalstatic int SUB_TEXT_FONT = "5"
pack-privatefinalstatic int SYSTEM_TEXT_FONT = "1"
pack-privatefinalstatic int USER_TEXT_FONT = "2"
pack-privatestatic ColorUIResource white
pack-privatefinalstatic int WINDOW_TITLE_FONT = "4"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar