public abstract class AbstractLookAndFeel extends MetalLookAndFeel
| Modifier and Type | Field and Description |
|---|---|
protected static String |
currentThemeName |
| Constructor and Description |
|---|
AbstractLookAndFeel() |
createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getDefaults, getDescription, getDisabledIcon, getDisabledSelectedIcon, getHighlightedTextColor, getID, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getName, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initClassDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentThemecreateAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitializegetDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorderprotected static String currentThemeName
public abstract AbstractBorderFactory getBorderFactory()
public abstract AbstractIconFactory getIconFactory()
protected void initSystemColorDefaults(UIDefaults table)
initSystemColorDefaults in class MetalLookAndFeelprotected void initComponentDefaults(UIDefaults table)
initComponentDefaults in class MetalLookAndFeelpublic static void setTheme(AbstractTheme theme)
public static void setTheme(String name)
name - the name of the themepublic static AbstractTheme getTheme()
public static MetalTheme getCurrentTheme()
public static List getThemes()
public static boolean isWindowDecorationOn()
public static ColorUIResource getForegroundColor()
public static ColorUIResource getDisabledForegroundColor()
public static ColorUIResource getBackgroundColor()
public static ColorUIResource getAlterBackgroundColor()
public static ColorUIResource getDisabledBackgroundColor()
public static ColorUIResource getInputForegroundColor()
public static ColorUIResource getInputBackgroundColor()
public static ColorUIResource getFocusColor()
public static ColorUIResource getFocusCellColor()
public static ColorUIResource getFrameColor()
public static ColorUIResource getGridColor()
public static ColorUIResource getSelectionForegroundColor()
public static ColorUIResource getSelectionBackgroundColor()
public static ColorUIResource getButtonForegroundColor()
public static ColorUIResource getButtonBackgroundColor()
public static ColorUIResource getButtonColorLight()
public static ColorUIResource getButtonColorDark()
public static ColorUIResource getControlForegroundColor()
public static ColorUIResource getControlBackgroundColor()
public ColorUIResource getControlHighlightColor()
public ColorUIResource getControlShadowColor()
public ColorUIResource getControlDarkShadowColor()
public static ColorUIResource getControlColorLight()
public static ColorUIResource getControlColorDark()
public static ColorUIResource getWindowTitleForegroundColor()
public static ColorUIResource getWindowTitleBackgroundColor()
public static ColorUIResource getWindowTitleColorLight()
public static ColorUIResource getWindowTitleColorDark()
public static ColorUIResource getWindowBorderColor()
public static ColorUIResource getWindowInactiveTitleForegroundColor()
public static ColorUIResource getWindowInactiveTitleBackgroundColor()
public static ColorUIResource getWindowInactiveTitleColorLight()
public static ColorUIResource getWindowInactiveTitleColorDark()
public static ColorUIResource getWindowInactiveBorderColor()
public static ColorUIResource getMenuForegroundColor()
public static ColorUIResource getMenuBackgroundColor()
public static ColorUIResource getMenuSelectionForegroundColor()
public static ColorUIResource getMenuSelectionBackgroundColor()
public static ColorUIResource getMenuColorLight()
public static ColorUIResource getMenuColorDark()
public static ColorUIResource getToolbarForegroundColor()
public static ColorUIResource getToolbarBackgroundColor()
public static ColorUIResource getToolbarColorLight()
public static ColorUIResource getToolbarColorDark()
public static ColorUIResource getToolbarDockingColor()
public static ColorUIResource getTabAreaBackgroundColor()
public static ColorUIResource getTabSelectionForegroundColor()
public static ColorUIResource getDesktopColor()
public static ColorUIResource getTooltipForegroundColor()
public static ColorUIResource getTooltipBackgroundColor()
Copyright © 2014. All Rights Reserved.