com.jtattoo.plaf
Class AbstractLookAndFeel
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.jtattoo.plaf.AbstractLookAndFeel
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AcrylLookAndFeel, AeroLookAndFeel, AluminiumLookAndFeel, FastLookAndFeel, GraphiteLookAndFeel, HiFiLookAndFeel
public abstract class AbstractLookAndFeel
- extends MetalLookAndFeel
- Author:
- Michael Hagen
- See Also:
- Serialized Form
Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel |
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, setCurrentTheme |
Methods inherited from class javax.swing.LookAndFeel |
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder |
AbstractLookAndFeel
public AbstractLookAndFeel()
getBorderFactory
public abstract AbstractBorderFactory getBorderFactory()
getIconFactory
public abstract AbstractIconFactory getIconFactory()
initSystemColorDefaults
protected void initSystemColorDefaults(UIDefaults table)
- Overrides:
initSystemColorDefaults
in class MetalLookAndFeel
initComponentDefaults
protected void initComponentDefaults(UIDefaults table)
- Overrides:
initComponentDefaults
in class MetalLookAndFeel
setTheme
public static void setTheme(AbstractTheme theme)
setTheme
public static void setTheme(String name)
- Set a theme by name. Allowed themes may come from the list returned by getThemes
getTheme
public static AbstractTheme getTheme()
getCurrentTheme
public static MetalTheme getCurrentTheme()
getThemes
public static List getThemes()
isWindowDecorationOn
public static boolean isWindowDecorationOn()
getForegroundColor
public static ColorUIResource getForegroundColor()
getDisabledForegroundColor
public static ColorUIResource getDisabledForegroundColor()
getBackgroundColor
public static ColorUIResource getBackgroundColor()
getAlterBackgroundColor
public static ColorUIResource getAlterBackgroundColor()
getDisabledBackgroundColor
public static ColorUIResource getDisabledBackgroundColor()
getInputForegroundColor
public static ColorUIResource getInputForegroundColor()
getInputBackgroundColor
public static ColorUIResource getInputBackgroundColor()
getFocusColor
public static ColorUIResource getFocusColor()
getFocusCellColor
public static ColorUIResource getFocusCellColor()
getFrameColor
public static ColorUIResource getFrameColor()
getGridColor
public static ColorUIResource getGridColor()
getSelectionForegroundColor
public static ColorUIResource getSelectionForegroundColor()
getSelectionBackgroundColor
public static ColorUIResource getSelectionBackgroundColor()
getButtonForegroundColor
public static ColorUIResource getButtonForegroundColor()
getButtonBackgroundColor
public static ColorUIResource getButtonBackgroundColor()
getButtonColorLight
public static ColorUIResource getButtonColorLight()
getButtonColorDark
public static ColorUIResource getButtonColorDark()
getControlForegroundColor
public static ColorUIResource getControlForegroundColor()
getControlBackgroundColor
public static ColorUIResource getControlBackgroundColor()
getControlHighlightColor
public ColorUIResource getControlHighlightColor()
getControlShadowColor
public ColorUIResource getControlShadowColor()
getControlDarkShadowColor
public ColorUIResource getControlDarkShadowColor()
getControlColorLight
public static ColorUIResource getControlColorLight()
getControlColorDark
public static ColorUIResource getControlColorDark()
getWindowTitleForegroundColor
public static ColorUIResource getWindowTitleForegroundColor()
getWindowTitleBackgroundColor
public static ColorUIResource getWindowTitleBackgroundColor()
getWindowTitleColorLight
public static ColorUIResource getWindowTitleColorLight()
getWindowTitleColorDark
public static ColorUIResource getWindowTitleColorDark()
getWindowBorderColor
public static ColorUIResource getWindowBorderColor()
getWindowInactiveTitleForegroundColor
public static ColorUIResource getWindowInactiveTitleForegroundColor()
getWindowInactiveTitleBackgroundColor
public static ColorUIResource getWindowInactiveTitleBackgroundColor()
getWindowInactiveTitleColorLight
public static ColorUIResource getWindowInactiveTitleColorLight()
getWindowInactiveTitleColorDark
public static ColorUIResource getWindowInactiveTitleColorDark()
getWindowInactiveBorderColor
public static ColorUIResource getWindowInactiveBorderColor()
getMenuForegroundColor
public static ColorUIResource getMenuForegroundColor()
getMenuBackgroundColor
public static ColorUIResource getMenuBackgroundColor()
getMenuSelectionForegroundColor
public static ColorUIResource getMenuSelectionForegroundColor()
getMenuSelectionBackgroundColor
public static ColorUIResource getMenuSelectionBackgroundColor()
getMenuColorLight
public static ColorUIResource getMenuColorLight()
getMenuColorDark
public static ColorUIResource getMenuColorDark()
getToolbarForegroundColor
public static ColorUIResource getToolbarForegroundColor()
getToolbarBackgroundColor
public static ColorUIResource getToolbarBackgroundColor()
getToolbarColorLight
public static ColorUIResource getToolbarColorLight()
getToolbarColorDark
public static ColorUIResource getToolbarColorDark()
getToolbarDockingColor
public static ColorUIResource getToolbarDockingColor()
getTabAreaBackgroundColor
public static ColorUIResource getTabAreaBackgroundColor()
getTabSelectionForegroundColor
public static ColorUIResource getTabSelectionForegroundColor()
getDesktopColor
public static ColorUIResource getDesktopColor()
getTooltipForegroundColor
public static ColorUIResource getTooltipForegroundColor()
getTooltipBackgroundColor
public static ColorUIResource getTooltipBackgroundColor()
Copyright © 2011. All Rights Reserved.