- java.lang.Object
- 
- javax.swing.LookAndFeel
- 
- javax.swing.plaf.basic.BasicLookAndFeel
- 
- javax.swing.plaf.metal.MetalLookAndFeel
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class MetalLookAndFeel extends BasicLookAndFeel The Java Look and Feel, otherwise known as Metal.Each of the ComponentUIs provided byMetalLookAndFeelderives its behavior from the defaults table. Unless otherwise noted each of theComponentUIimplementations in this package document the set of defaults they use. Unless otherwise noted the defaults are installed at the timeinstallUIis invoked, and follow the recommendations outlined inLookAndFeelfor installing defaults.MetalLookAndFeelderives it's color palette and fonts fromMetalTheme. The default theme isOceanTheme. The theme can be changed using thesetCurrentThememethod, refer to it for details on changing the theme. Prior to 1.5 the default theme wasDefaultMetalTheme. The system property"swing.metalTheme"can be set to"steel"to indicate the default should beDefaultMetalTheme.Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans™ has been added to the java.beanspackage. Please seeXMLEncoder.- See Also:
- MetalTheme,- DefaultMetalTheme,- OceanTheme, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MetalLookAndFeel()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateDefaultTheme()Ensures the currentMetalThemeisnon-null.static ColorUIResourcegetAcceleratorForeground()Returns the accelerator foreground color of the current theme.static ColorUIResourcegetAcceleratorSelectedForeground()Returns the accelerator selected foreground color of the current theme.static ColorUIResourcegetBlack()Returns the black color of the current theme.static ColorUIResourcegetControl()Returns the control color of the current theme.static ColorUIResourcegetControlDarkShadow()Returns the control dark shadow color of the current theme.static ColorUIResourcegetControlDisabled()Returns the control disabled color of the current theme.static ColorUIResourcegetControlHighlight()Returns the control highlight color of the current theme.static ColorUIResourcegetControlInfo()Returns the control info color of the current theme.static ColorUIResourcegetControlShadow()Returns the control shadow color of the current theme.static ColorUIResourcegetControlTextColor()Returns the control text color of the current theme.static FontUIResourcegetControlTextFont()Returns the control text font of the current theme.static MetalThemegetCurrentTheme()Return the theme currently being used byMetalLookAndFeel.UIDefaultsgetDefaults()Returns the look and feel defaults.StringgetDescription()Returns a short description of this look and feel.static ColorUIResourcegetDesktopColor()Returns the desktop color of the current theme.IcongetDisabledIcon(JComponent component, Icon icon)Returns anIconwith a disabled appearance.IcongetDisabledSelectedIcon(JComponent component, Icon icon)Returns anIconfor use by disabled components that are also selected.static ColorUIResourcegetFocusColor()Returns the focus color of the current theme.static ColorUIResourcegetHighlightedTextColor()Returns the highlighted text color of the current theme.StringgetID()Returns an identifier for this look and feel.static ColorUIResourcegetInactiveControlTextColor()Returns the inactive control text color of the current theme.static ColorUIResourcegetInactiveSystemTextColor()Returns the inactive system text color of the current theme.LayoutStylegetLayoutStyle()Returns aLayoutStyleimplementing the Java look and feel design guidelines as specified at http://www.oracle.com/technetwork/java/hig-136467.html.static ColorUIResourcegetMenuBackground()Returns the menu background color of the current theme.static ColorUIResourcegetMenuDisabledForeground()Returns the menu disabled foreground color of the current theme.static ColorUIResourcegetMenuForeground()Returns the menu foreground color of the current theme.static ColorUIResourcegetMenuSelectedBackground()Returns the menu selected background color of the current theme.static ColorUIResourcegetMenuSelectedForeground()Returns the menu selected foreground color of the current theme.static FontUIResourcegetMenuTextFont()Returns the menu text font of the current theme.StringgetName()Returns the name of this look and feel.static ColorUIResourcegetPrimaryControl()Returns the primary control color of the current theme.static ColorUIResourcegetPrimaryControlDarkShadow()Returns the primary control dark shadow color of the current theme.static ColorUIResourcegetPrimaryControlHighlight()Returns the primary control highlight color of the current theme.static ColorUIResourcegetPrimaryControlInfo()Returns the primary control info color of the current theme.static ColorUIResourcegetPrimaryControlShadow()Returns the primary control shadow color of the current theme.static ColorUIResourcegetSeparatorBackground()Returns the separator background color of the current theme.static ColorUIResourcegetSeparatorForeground()Returns the separator foreground color of the current theme.static FontUIResourcegetSubTextFont()Returns the sub-text font of the current theme.booleangetSupportsWindowDecorations()Returnstrue; metal can provideWindowdecorations.static ColorUIResourcegetSystemTextColor()Returns the system text color of the current theme.static FontUIResourcegetSystemTextFont()Returns the system text font of the current theme.static ColorUIResourcegetTextHighlightColor()Returns the text highlight color of the current theme.static ColorUIResourcegetUserTextColor()Returns the user text color of the current theme.static FontUIResourcegetUserTextFont()Returns the user text font of the current theme.static ColorUIResourcegetWhite()Returns the white color of the current theme.static ColorUIResourcegetWindowBackground()Returns the window background color of the current theme.static ColorUIResourcegetWindowTitleBackground()Returns the window title background color of the current theme.static FontUIResourcegetWindowTitleFont()Returns the window title font of the current theme.static ColorUIResourcegetWindowTitleForeground()Returns the window title foreground color of the current theme.static ColorUIResourcegetWindowTitleInactiveBackground()Returns the window title inactive background color of the current theme.static ColorUIResourcegetWindowTitleInactiveForeground()Returns the window title inactive foreground color of the current theme.protected voidinitClassDefaults(UIDefaults table)Populatestablewith mappings fromuiClassIDto the fully qualified name of the ui class.protected voidinitComponentDefaults(UIDefaults table)Populatestablewith the defaults for metal.protected voidinitSystemColorDefaults(UIDefaults table)Populatestablewith system colors.booleanisNativeLookAndFeel()Returnsfalse;MetalLookAndFeelis not a native look and feel.booleanisSupportedLookAndFeel()Returnstrue;MetalLookAndFeelcan be run on any platform.voidprovideErrorFeedback(Component component)Invoked when the user attempts an invalid operation, such as pasting into an uneditableJTextFieldthat has focus.static voidsetCurrentTheme(MetalTheme theme)Set the theme used byMetalLookAndFeel.- 
Methods declared in class javax.swing.plaf.basic.BasicLookAndFeelcreateAudioAction, getAudioActionMap, loadSystemColors, playSound
 - 
Methods declared in class javax.swing.LookAndFeelgetDesktopPropertyValue, initialize, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninitialize, uninstallBorder
 
- 
 
- 
- 
- 
Method Detail- 
getNamepublic String getName() Returns the name of this look and feel. This returns"Metal".- Specified by:
- getNamein class- LookAndFeel
- Returns:
- the name of this look and feel
 
 - 
getIDpublic String getID() Returns an identifier for this look and feel. This returns"Metal".- Specified by:
- getIDin class- LookAndFeel
- Returns:
- the identifier of this look and feel
 
 - 
getDescriptionpublic String getDescription() Returns a short description of this look and feel. This returns"The Java(tm) Look and Feel".- Specified by:
- getDescriptionin class- LookAndFeel
- Returns:
- a short description for the look and feel
 
 - 
isNativeLookAndFeelpublic boolean isNativeLookAndFeel() Returnsfalse;MetalLookAndFeelis not a native look and feel.- Specified by:
- isNativeLookAndFeelin class- LookAndFeel
- Returns:
- false
 
 - 
isSupportedLookAndFeelpublic boolean isSupportedLookAndFeel() Returnstrue;MetalLookAndFeelcan be run on any platform.- Specified by:
- isSupportedLookAndFeelin class- LookAndFeel
- Returns:
- true
- See Also:
- UIManager.setLookAndFeel(javax.swing.LookAndFeel)
 
 - 
getSupportsWindowDecorationspublic boolean getSupportsWindowDecorations() Returnstrue; metal can provideWindowdecorations.- Overrides:
- getSupportsWindowDecorationsin class- LookAndFeel
- Returns:
- true
- Since:
- 1.4
- See Also:
- JDialog.setDefaultLookAndFeelDecorated(boolean),- JFrame.setDefaultLookAndFeelDecorated(boolean),- JRootPane.setWindowDecorationStyle(int)
 
 - 
initClassDefaultsprotected void initClassDefaults(UIDefaults table) Populatestablewith mappings fromuiClassIDto the fully qualified name of the ui class.MetalLookAndFeelregisters an entry for each of the classes in the packagejavax.swing.plaf.metalthat are named MetalXXXUI. The stringXXXis one of Swing's uiClassIDs. For theuiClassIDsthat do not have a class in metal, the corresponding class injavax.swing.plaf.basicis used. For example, metal does not have a class named"MetalColorChooserUI", as such,javax.swing.plaf.basic.BasicColorChooserUIis used.- Overrides:
- initClassDefaultsin class- BasicLookAndFeel
- Parameters:
- table- the- UIDefaultsinstance the entries are added to
- Throws:
- NullPointerException- if- tableis- null
- See Also:
- BasicLookAndFeel.initClassDefaults(javax.swing.UIDefaults)
 
 - 
initSystemColorDefaultsprotected void initSystemColorDefaults(UIDefaults table) Populatestablewith system colors. The following values are added totable:
 The valueMetal's system color mapping Key Value "desktop" theme.getDesktopColor()"activeCaption" theme.getWindowTitleBackground()"activeCaptionText" theme.getWindowTitleForeground()"activeCaptionBorder" theme.getPrimaryControlShadow()"inactiveCaption" theme.getWindowTitleInactiveBackground()"inactiveCaptionText" theme.getWindowTitleInactiveForeground()"inactiveCaptionBorder" theme.getControlShadow()"window" theme.getWindowBackground()"windowBorder" theme.getControl()"windowText" theme.getUserTextColor()"menu" theme.getMenuBackground()"menuText" theme.getMenuForeground()"text" theme.getWindowBackground()"textText" theme.getUserTextColor()"textHighlight" theme.getTextHighlightColor()"textHighlightText" theme.getHighlightedTextColor()"textInactiveText" theme.getInactiveSystemTextColor()"control" theme.getControl()"controlText" theme.getControlTextColor()"controlHighlight" theme.getControlHighlight()"controlLtHighlight" theme.getControlHighlight()"controlShadow" theme.getControlShadow()"controlDkShadow" theme.getControlDarkShadow()"scrollbar" theme.getControl()"info" theme.getPrimaryControl()"infoText" theme.getPrimaryControlInfo()themecorresponds to the currentMetalTheme.- Overrides:
- initSystemColorDefaultsin class- BasicLookAndFeel
- Parameters:
- table- the- UIDefaultsobject the values are added to
- Throws:
- NullPointerException- if- tableis- null
- See Also:
- SystemColor,- BasicLookAndFeel.getDefaults(),- BasicLookAndFeel.loadSystemColors(javax.swing.UIDefaults, java.lang.String[], boolean)
 
 - 
initComponentDefaultsprotected void initComponentDefaults(UIDefaults table) Populatestablewith the defaults for metal.- Overrides:
- initComponentDefaultsin class- BasicLookAndFeel
- Parameters:
- table- the- UIDefaultsto add the values to
- Throws:
- NullPointerException- if- tableis- null
 
 - 
createDefaultThemeprotected void createDefaultTheme() Ensures the currentMetalThemeisnon-null. This is a cover method forgetCurrentTheme.- See Also:
- getCurrentTheme()
 
 - 
getDefaultspublic UIDefaults getDefaults() Returns the look and feel defaults. This invokes, in order,createDefaultTheme(),super.getDefaults()andgetCurrentTheme().addCustomEntriesToTable(table).While this method is public, it should only be invoked by the UIManagerwhen the look and feel is set as the current look and feel and afterinitializehas been invoked.- Overrides:
- getDefaultsin class- BasicLookAndFeel
- Returns:
- the look and feel defaults
- See Also:
- createDefaultTheme(),- BasicLookAndFeel.getDefaults(),- MetalTheme.addCustomEntriesToTable(UIDefaults)
 
 - 
provideErrorFeedbackpublic void provideErrorFeedback(Component component) Invoked when the user attempts an invalid operation, such as pasting into an uneditableJTextFieldthat has focus. The default implementation beeps. Subclasses that wish different behavior should override this and provide the additional feedback.- Overrides:
- provideErrorFeedbackin class- LookAndFeel
- Parameters:
- component- the- Componentthe error occurred in, may be- nullindicating the error condition is not directly associated with a- Component
- Since:
- 1.4
 
 - 
setCurrentThemepublic static void setCurrentTheme(MetalTheme theme) Set the theme used byMetalLookAndFeel.After the theme is set, MetalLookAndFeelneeds to be re-installed and the uis need to be recreated. The following shows how to do this:MetalLookAndFeel.setCurrentTheme(theme); // re-install the Metal Look and Feel UIManager.setLookAndFeel(new MetalLookAndFeel()); // Update the ComponentUIs for all Components. This // needs to be invoked for all windows. SwingUtilities.updateComponentTreeUI(rootComponent); If this is not done the results are undefined.- Parameters:
- theme- the theme to use
- Throws:
- NullPointerException- if- themeis- null
- See Also:
- getCurrentTheme()
 
 - 
getCurrentThemepublic static MetalTheme getCurrentTheme() Return the theme currently being used byMetalLookAndFeel. If the current theme isnull, the default theme is created.- Returns:
- the current theme
- Since:
- 1.5
- See Also:
- setCurrentTheme(javax.swing.plaf.metal.MetalTheme)
 
 - 
getDisabledIconpublic Icon getDisabledIcon(JComponent component, Icon icon) Returns anIconwith a disabled appearance. This method is used to generate a disabledIconwhen one has not been specified. For example, if you create aJButtonand only specify anIconviasetIconthis method will be called to generate the disabledIcon. If null is passed asiconthis method returns null.Some look and feels might not render the disabled Icon, in which case they will ignore this. - Overrides:
- getDisabledIconin class- LookAndFeel
- Parameters:
- component- JComponent that will display the Icon, may be null
- icon- Icon to generate disable icon from.
- Returns:
- Disabled icon, or null if a suitable Icon can not be generated.
- Since:
- 1.5
 
 - 
getDisabledSelectedIconpublic Icon getDisabledSelectedIcon(JComponent component, Icon icon) Returns anIconfor use by disabled components that are also selected. This method is used to generate anIconfor components that are in both the disabled and selected states but do not have a specificIconfor this state. For example, if you create aJButtonand only specify anIconviasetIconthis method will be called to generate the disabled and selectedIcon. If null is passed asiconthis method returns null.Some look and feels might not render the disabled and selected Icon, in which case they will ignore this. - Overrides:
- getDisabledSelectedIconin class- LookAndFeel
- Parameters:
- component- JComponent that will display the Icon, may be null
- icon- Icon to generate disabled and selected icon from.
- Returns:
- Disabled and Selected icon, or null if a suitable Icon can not be generated.
- Since:
- 1.5
 
 - 
getControlTextFontpublic static FontUIResource getControlTextFont() Returns the control text font of the current theme. This is a cover method forgetCurrentTheme().getControlTextColor().- Returns:
- the control text font
- See Also:
- MetalTheme
 
 - 
getSystemTextFontpublic static FontUIResource getSystemTextFont() Returns the system text font of the current theme. This is a cover method forgetCurrentTheme().getSystemTextFont().- Returns:
- the system text font
- See Also:
- MetalTheme
 
 - 
getUserTextFontpublic static FontUIResource getUserTextFont() Returns the user text font of the current theme. This is a cover method forgetCurrentTheme().getUserTextFont().- Returns:
- the user text font
- See Also:
- MetalTheme
 
 - 
getMenuTextFontpublic static FontUIResource getMenuTextFont() Returns the menu text font of the current theme. This is a cover method forgetCurrentTheme().getMenuTextFont().- Returns:
- the menu text font
- See Also:
- MetalTheme
 
 - 
getWindowTitleFontpublic static FontUIResource getWindowTitleFont() Returns the window title font of the current theme. This is a cover method forgetCurrentTheme().getWindowTitleFont().- Returns:
- the window title font
- See Also:
- MetalTheme
 
 - 
getSubTextFontpublic static FontUIResource getSubTextFont() Returns the sub-text font of the current theme. This is a cover method forgetCurrentTheme().getSubTextFont().- Returns:
- the sub-text font
- See Also:
- MetalTheme
 
 - 
getDesktopColorpublic static ColorUIResource getDesktopColor() Returns the desktop color of the current theme. This is a cover method forgetCurrentTheme().getDesktopColor().- Returns:
- the desktop color
- See Also:
- MetalTheme
 
 - 
getFocusColorpublic static ColorUIResource getFocusColor() Returns the focus color of the current theme. This is a cover method forgetCurrentTheme().getFocusColor().- Returns:
- the focus color
- See Also:
- MetalTheme
 
 - 
getWhitepublic static ColorUIResource getWhite() Returns the white color of the current theme. This is a cover method forgetCurrentTheme().getWhite().- Returns:
- the white color
- See Also:
- MetalTheme
 
 - 
getBlackpublic static ColorUIResource getBlack() Returns the black color of the current theme. This is a cover method forgetCurrentTheme().getBlack().- Returns:
- the black color
- See Also:
- MetalTheme
 
 - 
getControlpublic static ColorUIResource getControl() Returns the control color of the current theme. This is a cover method forgetCurrentTheme().getControl().- Returns:
- the control color
- See Also:
- MetalTheme
 
 - 
getControlShadowpublic static ColorUIResource getControlShadow() Returns the control shadow color of the current theme. This is a cover method forgetCurrentTheme().getControlShadow().- Returns:
- the control shadow color
- See Also:
- MetalTheme
 
 - 
getControlDarkShadowpublic static ColorUIResource getControlDarkShadow() Returns the control dark shadow color of the current theme. This is a cover method forgetCurrentTheme().getControlDarkShadow().- Returns:
- the control dark shadow color
- See Also:
- MetalTheme
 
 - 
getControlInfopublic static ColorUIResource getControlInfo() Returns the control info color of the current theme. This is a cover method forgetCurrentTheme().getControlInfo().- Returns:
- the control info color
- See Also:
- MetalTheme
 
 - 
getControlHighlightpublic static ColorUIResource getControlHighlight() Returns the control highlight color of the current theme. This is a cover method forgetCurrentTheme().getControlHighlight().- Returns:
- the control highlight color
- See Also:
- MetalTheme
 
 - 
getControlDisabledpublic static ColorUIResource getControlDisabled() Returns the control disabled color of the current theme. This is a cover method forgetCurrentTheme().getControlDisabled().- Returns:
- the control disabled color
- See Also:
- MetalTheme
 
 - 
getPrimaryControlpublic static ColorUIResource getPrimaryControl() Returns the primary control color of the current theme. This is a cover method forgetCurrentTheme().getPrimaryControl().- Returns:
- the primary control color
- See Also:
- MetalTheme
 
 - 
getPrimaryControlShadowpublic static ColorUIResource getPrimaryControlShadow() Returns the primary control shadow color of the current theme. This is a cover method forgetCurrentTheme().getPrimaryControlShadow().- Returns:
- the primary control shadow color
- See Also:
- MetalTheme
 
 - 
getPrimaryControlDarkShadowpublic static ColorUIResource getPrimaryControlDarkShadow() Returns the primary control dark shadow color of the current theme. This is a cover method forgetCurrentTheme().getPrimaryControlDarkShadow().- Returns:
- the primary control dark shadow color
- See Also:
- MetalTheme
 
 - 
getPrimaryControlInfopublic static ColorUIResource getPrimaryControlInfo() Returns the primary control info color of the current theme. This is a cover method forgetCurrentTheme().getPrimaryControlInfo().- Returns:
- the primary control info color
- See Also:
- MetalTheme
 
 - 
getPrimaryControlHighlightpublic static ColorUIResource getPrimaryControlHighlight() Returns the primary control highlight color of the current theme. This is a cover method forgetCurrentTheme().getPrimaryControlHighlight().- Returns:
- the primary control highlight color
- See Also:
- MetalTheme
 
 - 
getSystemTextColorpublic static ColorUIResource getSystemTextColor() Returns the system text color of the current theme. This is a cover method forgetCurrentTheme().getSystemTextColor().- Returns:
- the system text color
- See Also:
- MetalTheme
 
 - 
getControlTextColorpublic static ColorUIResource getControlTextColor() Returns the control text color of the current theme. This is a cover method forgetCurrentTheme().getControlTextColor().- Returns:
- the control text color
- See Also:
- MetalTheme
 
 - 
getInactiveControlTextColorpublic static ColorUIResource getInactiveControlTextColor() Returns the inactive control text color of the current theme. This is a cover method forgetCurrentTheme().getInactiveControlTextColor().- Returns:
- the inactive control text color
- See Also:
- MetalTheme
 
 - 
getInactiveSystemTextColorpublic static ColorUIResource getInactiveSystemTextColor() Returns the inactive system text color of the current theme. This is a cover method forgetCurrentTheme().getInactiveSystemTextColor().- Returns:
- the inactive system text color
- See Also:
- MetalTheme
 
 - 
getUserTextColorpublic static ColorUIResource getUserTextColor() Returns the user text color of the current theme. This is a cover method forgetCurrentTheme().getUserTextColor().- Returns:
- the user text color
- See Also:
- MetalTheme
 
 - 
getTextHighlightColorpublic static ColorUIResource getTextHighlightColor() Returns the text highlight color of the current theme. This is a cover method forgetCurrentTheme().getTextHighlightColor().- Returns:
- the text highlight color
- See Also:
- MetalTheme
 
 - 
getHighlightedTextColorpublic static ColorUIResource getHighlightedTextColor() Returns the highlighted text color of the current theme. This is a cover method forgetCurrentTheme().getHighlightedTextColor().- Returns:
- the highlighted text color
- See Also:
- MetalTheme
 
 - 
getWindowBackgroundpublic static ColorUIResource getWindowBackground() Returns the window background color of the current theme. This is a cover method forgetCurrentTheme().getWindowBackground().- Returns:
- the window background color
- See Also:
- MetalTheme
 
 - 
getWindowTitleBackgroundpublic static ColorUIResource getWindowTitleBackground() Returns the window title background color of the current theme. This is a cover method forgetCurrentTheme().getWindowTitleBackground().- Returns:
- the window title background color
- See Also:
- MetalTheme
 
 - 
getWindowTitleForegroundpublic static ColorUIResource getWindowTitleForeground() Returns the window title foreground color of the current theme. This is a cover method forgetCurrentTheme().getWindowTitleForeground().- Returns:
- the window title foreground color
- See Also:
- MetalTheme
 
 - 
getWindowTitleInactiveBackgroundpublic static ColorUIResource getWindowTitleInactiveBackground() Returns the window title inactive background color of the current theme. This is a cover method forgetCurrentTheme().getWindowTitleInactiveBackground().- Returns:
- the window title inactive background color
- See Also:
- MetalTheme
 
 - 
getWindowTitleInactiveForegroundpublic static ColorUIResource getWindowTitleInactiveForeground() Returns the window title inactive foreground color of the current theme. This is a cover method forgetCurrentTheme().getWindowTitleInactiveForeground().- Returns:
- the window title inactive foreground color
- See Also:
- MetalTheme
 
 - 
getMenuBackgroundpublic static ColorUIResource getMenuBackground() Returns the menu background color of the current theme. This is a cover method forgetCurrentTheme().getMenuBackground().- Returns:
- the menu background color
- See Also:
- MetalTheme
 
 - 
getMenuForegroundpublic static ColorUIResource getMenuForeground() Returns the menu foreground color of the current theme. This is a cover method forgetCurrentTheme().getMenuForeground().- Returns:
- the menu foreground color
- See Also:
- MetalTheme
 
 - 
getMenuSelectedBackgroundpublic static ColorUIResource getMenuSelectedBackground() Returns the menu selected background color of the current theme. This is a cover method forgetCurrentTheme().getMenuSelectedBackground().- Returns:
- the menu selected background color
- See Also:
- MetalTheme
 
 - 
getMenuSelectedForegroundpublic static ColorUIResource getMenuSelectedForeground() Returns the menu selected foreground color of the current theme. This is a cover method forgetCurrentTheme().getMenuSelectedForeground().- Returns:
- the menu selected foreground color
- See Also:
- MetalTheme
 
 - 
getMenuDisabledForegroundpublic static ColorUIResource getMenuDisabledForeground() Returns the menu disabled foreground color of the current theme. This is a cover method forgetCurrentTheme().getMenuDisabledForeground().- Returns:
- the menu disabled foreground color
- See Also:
- MetalTheme
 
 - 
getSeparatorBackgroundpublic static ColorUIResource getSeparatorBackground() Returns the separator background color of the current theme. This is a cover method forgetCurrentTheme().getSeparatorBackground().- Returns:
- the separator background color
- See Also:
- MetalTheme
 
 - 
getSeparatorForegroundpublic static ColorUIResource getSeparatorForeground() Returns the separator foreground color of the current theme. This is a cover method forgetCurrentTheme().getSeparatorForeground().- Returns:
- the separator foreground color
- See Also:
- MetalTheme
 
 - 
getAcceleratorForegroundpublic static ColorUIResource getAcceleratorForeground() Returns the accelerator foreground color of the current theme. This is a cover method forgetCurrentTheme().getAcceleratorForeground().- Returns:
- the separator accelerator foreground color
- See Also:
- MetalTheme
 
 - 
getAcceleratorSelectedForegroundpublic static ColorUIResource getAcceleratorSelectedForeground() Returns the accelerator selected foreground color of the current theme. This is a cover method forgetCurrentTheme().getAcceleratorSelectedForeground().- Returns:
- the accelerator selected foreground color
- See Also:
- MetalTheme
 
 - 
getLayoutStylepublic LayoutStyle getLayoutStyle() Returns aLayoutStyleimplementing the Java look and feel design guidelines as specified at http://www.oracle.com/technetwork/java/hig-136467.html.- Overrides:
- getLayoutStylein class- LookAndFeel
- Returns:
- LayoutStyle implementing the Java look and feel design guidelines
- Since:
- 1.6
- See Also:
- LayoutStyle.getInstance()
 
 
- 
 
-