KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > metal > MetalLookAndFeel

javax.swing.plaf.metal
Class MetalLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by javax.swing.plaf.metal.MetalLookAndFeel
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, XMLEncoder

protected void createDefaultTheme()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getAcceleratorForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getAcceleratorSelectedForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getBlack()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControl()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlDarkShadow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlDisabled()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlHighlight()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlInfo()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlShadow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getControlTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getControlTextFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MetalTheme getCurrentTheme()
See Also:
setCurrentTheme(javax.swing.plaf.metal.MetalTheme)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public UIDefaults getDefaults()
See Also:
UIManager.setLookAndFeel(javax.swing.LookAndFeel), LookAndFeel.uninitialize(), LookAndFeel.initialize(), BasicLookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getDescription()
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getDesktopColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getDisabledIcon(JComponent component,
                            Icon icon)
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Icon getDisabledSelectedIcon(JComponent component,
                                    Icon icon)
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getFocusColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getHighlightedTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getID()
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getInactiveControlTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getInactiveSystemTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getMenuBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getMenuDisabledForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getMenuForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getMenuSelectedBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getMenuSelectedForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getMenuTextFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getName()
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getPrimaryControl()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getPrimaryControlDarkShadow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getPrimaryControlHighlight()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getPrimaryControlInfo()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getPrimaryControlShadow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getSeparatorBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getSeparatorForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getSubTextFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean getSupportsWindowDecorations()
See Also:
JRootPane.setWindowDecorationStyle(int), JFrame.setDefaultLookAndFeelDecorated(boolean), JDialog.setDefaultLookAndFeelDecorated(boolean), LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1266]Question about getSupportsWindowDecorations
By Anonymous on 2005/01/20 13:20:49  Rate
If getSupportsWindowDecorations method of the MetalLookAndFeel reports true, which means that you can ask the look and feel to provide the title bar for you.

public static ColorUIResource getSystemTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getSystemTextFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getTextHighlightColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getUserTextColor()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getUserTextFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWhite()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWindowBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWindowTitleBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FontUIResource getWindowTitleFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWindowTitleForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWindowTitleInactiveBackground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ColorUIResource getWindowTitleInactiveForeground()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void initClassDefaults(UIDefaults table)
See Also:
JComponent.getUIClassID(), BasicLookAndFeel.getDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void initComponentDefaults(UIDefaults table)
See Also:
BasicLookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void initSystemColorDefaults(UIDefaults table)
See Also:
BasicLookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isNativeLookAndFeel()
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isSupportedLookAndFeel()
See Also:
UIManager.setLookAndFeel(javax.swing.LookAndFeel), LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MetalLookAndFeel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void provideErrorFeedback(Component component)
See Also:
LookAndFeel
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void setCurrentTheme(MetalTheme theme)
See Also:
getCurrentTheme(), NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags