API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. OceanTheme View Source
Author(s)
Since
1.5
Version
1.21 07/12/06
Serial
Hierarchy
 Object
      MetalTheme
          DefaultMetalTheme
              OceanTheme
Implements
Subclasses
Description
public class OceanTheme
  The default theme for the MetalLookAndFeel.
Constructors
public OceanTheme ()
Creates an instance of OceanTheme
Methods
Hide/Show inherited methods
public void addCustomEntriesToTable (UIDefaults table) [Overrides MetalTheme]
  Add this theme's custom entries 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 () [Overrides 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 () [Overrides MetalTheme]
  Returns the control text color.
public FontUIResource getControlTextFont () [Inherited From DefaultMetalTheme] [Specified in MetalTheme]
  Returns the control text font.
pack-privatestatic String getDefaultFontName (int key) [Inherited From DefaultMetalTheme]
Returns the ideal font name for the font identified by key.
pack-privatestatic int getDefaultFontSize (int key) [Inherited From DefaultMetalTheme]
Returns the ideal font size for the font identified by key.
pack-privatestatic int getDefaultFontStyle (int key) [Inherited From DefaultMetalTheme]
Returns the ideal font style for the font identified by key.
pack-privatestatic String getDefaultPropertyName (int key) [Inherited From DefaultMetalTheme]
Returns the default used to look up the specified font.
public ColorUIResource getDesktopColor () [Overrides 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 () [Overrides 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 () [Overrides 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 () [Inherited From DefaultMetalTheme] [Specified in MetalTheme]
  Returns the menu text font.
public String getName () [Overrides DefaultMetalTheme] [Specified in MetalTheme]
  Return the name of this theme, "Ocean".
protected ColorUIResource getPrimary1 () [Overrides DefaultMetalTheme] [Specified in MetalTheme]
  Returns the primary 1 color.
protected ColorUIResource getPrimary2 () [Overrides DefaultMetalTheme] [Specified in MetalTheme]
  Returns the primary 2 color.
protected ColorUIResource getPrimary3 () [Overrides DefaultMetalTheme] [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 () [Overrides DefaultMetalTheme] [Specified in MetalTheme]
  Returns the secondary 1 color.
protected ColorUIResource getSecondary2 () [Overrides DefaultMetalTheme] [Specified in MetalTheme]
  Returns the secondary 2 color.
protected ColorUIResource getSecondary3 () [Overrides DefaultMetalTheme] [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 () [Inherited From DefaultMetalTheme] [Specified in MetalTheme]
  Returns the sub-text font.
public ColorUIResource getSystemTextColor () [Inherited From MetalTheme]
  Returns the system text color.
public FontUIResource getSystemTextFont () [Inherited From DefaultMetalTheme] [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 () [Inherited From DefaultMetalTheme] [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 () [Inherited From DefaultMetalTheme] [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 () [Inherited From DefaultMetalTheme]
pack-private boolean isSystemTheme () [Overrides DefaultMetalTheme]
Overriden to enable picking up the system fonts, if applicable.
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