javax.swing.plaf.metal
public abstract class MetalTheme extends Object
See Also: setCurrentTheme
Constructor Summary | |
---|---|
MetalTheme()
Default constructor. |
Method Summary | |
---|---|
void | addCustomEntriesToTable(UIDefaults table)
Adds custom entries to the UI defaults table. |
ColorUIResource | getAcceleratorForeground()
Returns the accelerator foreground color. |
ColorUIResource | getAcceleratorSelectedForeground()
Returns the accelerator selected foreground color. |
protected ColorUIResource | getBlack()
Returns the color used for black.
|
ColorUIResource | getControl()
Returns the control color. |
ColorUIResource | getControlDarkShadow()
Returns the color used for dark shadows on controls. |
ColorUIResource | getControlDisabled()
Returns the color used for disabled controls. |
ColorUIResource | getControlHighlight()
Returns the color used to draw highlights for controls. |
ColorUIResource | getControlInfo()
Returns the color used to display control info. |
ColorUIResource | getControlShadow()
Returns the color used to draw shadows for controls. |
ColorUIResource | getControlTextColor()
Returns the color used for text on controls. |
abstract FontUIResource | getControlTextFont()
Returns the font used for text on controls.
|
ColorUIResource | getDesktopColor()
Returns the color used for the desktop background. |
ColorUIResource | getFocusColor()
Returns the color used to draw focus highlights. |
ColorUIResource | getHighlightedTextColor()
Returns the color used to draw highlighted text. |
ColorUIResource | getInactiveControlTextColor()
Returns the color used to draw text on inactive controls. |
ColorUIResource | getInactiveSystemTextColor()
Returns the color used to draw inactive system text. |
ColorUIResource | getMenuBackground()
Returns the background color for menu items. |
ColorUIResource | getMenuDisabledForeground()
Returns the foreground color for disabled menu items. |
ColorUIResource | getMenuForeground()
Returns the foreground color for menu items. |
ColorUIResource | getMenuSelectedBackground()
Returns the background color for selected menu items. |
ColorUIResource | getMenuSelectedForeground()
Returns the foreground color for selected menu items. |
abstract FontUIResource | getMenuTextFont()
Returns the font used for text in menus.
|
abstract String | getName()
Returns the name of the theme.
|
protected abstract ColorUIResource | getPrimary1()
Returns the first primary color for this theme.
|
protected abstract ColorUIResource | getPrimary2()
Returns the second primary color for this theme.
|
protected abstract ColorUIResource | getPrimary3()
Returns the third primary color for this theme.
|
ColorUIResource | getPrimaryControl()
Returns the primary color for controls. |
ColorUIResource | getPrimaryControlDarkShadow()
Returns the primary color for the dark shadow on controls. |
ColorUIResource | getPrimaryControlHighlight()
Returns the primary color for the highlight on controls. |
ColorUIResource | getPrimaryControlInfo()
Returns the primary color for the information on controls. |
ColorUIResource | getPrimaryControlShadow()
Returns the primary color for the shadow on controls. |
protected abstract ColorUIResource | getSecondary1()
Returns the first secondary color for this theme.
|
protected abstract ColorUIResource | getSecondary2()
Returns the second secondary color for this theme.
|
protected abstract ColorUIResource | getSecondary3()
Returns the third secondary color for this theme.
|
ColorUIResource | getSeparatorBackground()
Returns the background color for separators. |
ColorUIResource | getSeparatorForeground()
Returns the foreground color for separators. |
abstract FontUIResource | getSubTextFont()
Returns the font used for sub text.
|
ColorUIResource | getSystemTextColor()
Returns the color used for system text. |
abstract FontUIResource | getSystemTextFont()
Returns the font used for system text.
|
ColorUIResource | getTextHighlightColor()
Returns the color used to highlight text. |
ColorUIResource | getUserTextColor()
Returns the color used to display user text. |
abstract FontUIResource | getUserTextFont()
Returns the font used for user text.
|
protected ColorUIResource | getWhite()
Returns the color used for white.
|
ColorUIResource | getWindowBackground()
Returns the window background color. |
ColorUIResource | getWindowTitleBackground()
Returns the window title background color. |
abstract FontUIResource | getWindowTitleFont()
Returns the font used for window titles.
|
ColorUIResource | getWindowTitleForeground()
Returns the window title foreground color. |
ColorUIResource | getWindowTitleInactiveBackground()
Returns the background color for an inactive window title. |
ColorUIResource | getWindowTitleInactiveForeground()
Returns the foreground color for an inactive window title. |
Parameters: table the table.
Returns: The accelerator foreground color.
Returns: The accelerator selected foreground color.
Returns: The color used for black.
Returns: The control color.
Returns: The color used for dark shadows on controls.
Returns: The color used for disabled controls.
Returns: The color used to draw highlights for controls.
Returns: The color used to display control info.
Returns: The color used to draw shadows for controls.
Returns: The color used for text on controls.
Returns: The font used for text on controls.
Returns: The color used for the desktop background.
Returns: The color used to draw focus highlights.
Returns: The color used to draw highlighted text.
Returns: The color used to draw text on inactive controls.
Returns: The color used to draw inactive system text.
Returns: The background color for menu items.
See Also: getMenuSelectedBackground
Returns: The foreground color for disabled menu items.
See Also: getMenuForeground
Returns: The foreground color for menu items.
See Also: getMenuDisabledForeground getMenuSelectedForeground
Returns: The background color for selected menu items.
See Also: getMenuBackground
Returns: The foreground color for selected menu items.
See Also: getMenuForeground
Returns: The font used for text in menus.
Returns: The name of the theme.
Returns: The first primary color.
Returns: The second primary color.
Returns: The third primary color.
Returns: The primary color for controls.
Returns: The primary color for the dark shadow on controls.
Returns: The primary color for the highlight on controls.
Returns: The primary color for the information on controls.
Returns: The primary color for the shadow on controls.
Returns: The first secondary color.
Returns: The second secondary color.
Returns: The third secondary color.
Returns: The background color for separators.
Returns: The foreground color for separators.
Returns: The font used for sub text.
Returns: The color used for system text.
Returns: The font used for system text.
Returns: The color used to highlight text.
Returns: The color used to display user text.
Returns: The font used for user text.
Returns: The color used for white.
Returns: The window background color.
Returns: The window title background color.
Returns: The font used for window titles.
Returns: The window title foreground color.
Returns: The background color for an inactive window title.
Returns: The foreground color for an inactive window title.