JavaTM 2 Platform Std. Ed. v1.5.0
javax.swing.plaf.metal
Class DefaultMetalTheme
java.lang.Object
javax.swing.plaf.metal.MetalTheme
javax.swing.plaf.metal.DefaultMetalTheme
- Direct Known Subclasses:
- OceanTheme
public class DefaultMetalTheme - extends MetalTheme
This class describes the default Metal Theme.
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 JavaBeansTM
has been added to the java.beans package.
Please see XMLEncoder .
Methods inherited from class javax.swing.plaf.metal.MetalTheme |
addCustomEntriesToTable, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getDesktopColor, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSystemTextColor, getTextHighlightColor, getUserTextColor, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMetalTheme
public DefaultMetalTheme()
getName
public String getName()
- Specified by:
getName in class MetalTheme
getPrimary1
protected ColorUIResource getPrimary1()
- Specified by:
getPrimary1 in class MetalTheme
getPrimary2
protected ColorUIResource getPrimary2()
- Specified by:
getPrimary2 in class MetalTheme
getPrimary3
protected ColorUIResource getPrimary3()
- Specified by:
getPrimary3 in class MetalTheme
getSecondary1
protected ColorUIResource getSecondary1()
- Specified by:
getSecondary1 in class MetalTheme
getSecondary2
protected ColorUIResource getSecondary2()
- Specified by:
getSecondary2 in class MetalTheme
getSecondary3
protected ColorUIResource getSecondary3()
- Specified by:
getSecondary3 in class MetalTheme
getControlTextFont
public FontUIResource getControlTextFont()
- Specified by:
getControlTextFont in class MetalTheme
getSystemTextFont
public FontUIResource getSystemTextFont()
- Specified by:
getSystemTextFont in class MetalTheme
getUserTextFont
public FontUIResource getUserTextFont()
- Specified by:
getUserTextFont in class MetalTheme
getMenuTextFont
public FontUIResource getMenuTextFont()
- Specified by:
getMenuTextFont in class MetalTheme
getWindowTitleFont
public FontUIResource getWindowTitleFont()
- Specified by:
getWindowTitleFont in class MetalTheme
getSubTextFont
public FontUIResource getSubTextFont()
- Specified by:
getSubTextFont in class MetalTheme
Copyright 2003 Sun Microsystems, Inc. All rights reserved
|