public class DefaultMetalTheme extends MetalTheme
MetalLookAndFeel.| Constructor and Description |
|---|
DefaultMetalTheme()
Creates a new instance of this theme.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.plaf.FontUIResource |
getControlTextFont()
Returns the font used for text on controls.
|
javax.swing.plaf.FontUIResource |
getMenuTextFont()
Returns the font used for text in menus.
|
java.lang.String |
getName()
Returns the name of the theme.
|
protected javax.swing.plaf.ColorUIResource |
getPrimary1()
Returns the first primary color for this theme.
|
protected javax.swing.plaf.ColorUIResource |
getPrimary2()
Returns the second primary color for this theme.
|
protected javax.swing.plaf.ColorUIResource |
getPrimary3()
Returns the third primary color for this theme.
|
protected javax.swing.plaf.ColorUIResource |
getSecondary1()
Returns the first secondary color for this theme.
|
protected javax.swing.plaf.ColorUIResource |
getSecondary2()
Returns the second secondary color for this theme.
|
protected javax.swing.plaf.ColorUIResource |
getSecondary3()
Returns the third secondary color for this theme.
|
javax.swing.plaf.FontUIResource |
getSubTextFont()
Returns the font used for sub text.
|
javax.swing.plaf.FontUIResource |
getSystemTextFont()
Returns the font used for system text.
|
javax.swing.plaf.FontUIResource |
getUserTextFont()
Returns the font used for user text.
|
javax.swing.plaf.FontUIResource |
getWindowTitleFont()
Returns the font used for window titles.
|
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, getWindowTitleInactiveForegroundpublic DefaultMetalTheme()
public java.lang.String getName()
getName in class MetalTheme"Steel".protected javax.swing.plaf.ColorUIResource getPrimary1()
getPrimary1 in class MetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary2()
getPrimary2 in class MetalThemeprotected javax.swing.plaf.ColorUIResource getPrimary3()
getPrimary3 in class MetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary1()
getSecondary1 in class MetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary2()
getSecondary2 in class MetalThemeprotected javax.swing.plaf.ColorUIResource getSecondary3()
getSecondary3 in class MetalThemepublic javax.swing.plaf.FontUIResource getControlTextFont()
FontUIResource("Dialog", Font.BOLD, 12), unless the
swing.boldMetal UI default is set to Boolean.FALSE
in which case it is FontUIResource("Dialog", Font.PLAIN, 12).getControlTextFont in class MetalThemepublic javax.swing.plaf.FontUIResource getMenuTextFont()
FontUIResource("Dialog", Font.BOLD, 12), unless the
swing.boldMetal UI default is set to Boolean.FALSE
in which case it is FontUIResource("Dialog", Font.PLAIN, 12).getMenuTextFont in class MetalThemepublic javax.swing.plaf.FontUIResource getSubTextFont()
FontUIResource("Dialog", Font.PLAIN, 10).getSubTextFont in class MetalThemepublic javax.swing.plaf.FontUIResource getSystemTextFont()
FontUIResource("Dialog", Font.PLAIN, 12).getSystemTextFont in class MetalThemepublic javax.swing.plaf.FontUIResource getUserTextFont()
FontUIResource("Dialog", Font.PLAIN, 12).getUserTextFont in class MetalThemepublic javax.swing.plaf.FontUIResource getWindowTitleFont()
FontUIResource("Dialog", Font.BOLD, 12).getWindowTitleFont in class MetalTheme