public class DefaultMetalTheme extends MetalTheme
MetalLookAndFeel.| Constructor and Description |
|---|
DefaultMetalTheme()
Creates a new instance of this theme.
|
| Modifier and Type | Method and Description |
|---|---|
FontUIResource |
getControlTextFont()
Returns the font used for text on controls.
|
FontUIResource |
getMenuTextFont()
Returns the font used for text in menus.
|
String |
getName()
Returns the name of the theme.
|
protected ColorUIResource |
getPrimary1()
Returns the first primary color for this theme.
|
protected ColorUIResource |
getPrimary2()
Returns the second primary color for this theme.
|
protected ColorUIResource |
getPrimary3()
Returns the third primary color for this theme.
|
protected ColorUIResource |
getSecondary1()
Returns the first secondary color for this theme.
|
protected ColorUIResource |
getSecondary2()
Returns the second secondary color for this theme.
|
protected ColorUIResource |
getSecondary3()
Returns the third secondary color for this theme.
|
FontUIResource |
getSubTextFont()
Returns the font used for sub text.
|
FontUIResource |
getSystemTextFont()
Returns the font used for system text.
|
FontUIResource |
getUserTextFont()
Returns the font used for user text.
|
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 String getName()
getName in class MetalTheme"Steel".protected ColorUIResource getPrimary1()
getPrimary1 in class MetalThemeprotected ColorUIResource getPrimary2()
getPrimary2 in class MetalThemeprotected ColorUIResource getPrimary3()
getPrimary3 in class MetalThemeprotected ColorUIResource getSecondary1()
getSecondary1 in class MetalThemeprotected ColorUIResource getSecondary2()
getSecondary2 in class MetalThemeprotected ColorUIResource getSecondary3()
getSecondary3 in class MetalThemepublic 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 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 FontUIResource getSubTextFont()
FontUIResource("Dialog", Font.PLAIN, 10).getSubTextFont in class MetalThemepublic FontUIResource getSystemTextFont()
FontUIResource("Dialog", Font.PLAIN, 12).getSystemTextFont in class MetalThemepublic FontUIResource getUserTextFont()
FontUIResource("Dialog", Font.PLAIN, 12).getUserTextFont in class MetalThemepublic FontUIResource getWindowTitleFont()
FontUIResource("Dialog", Font.BOLD, 12).getWindowTitleFont in class MetalTheme