com.jtattoo.plaf
Class AbstractLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by javax.swing.plaf.metal.MetalLookAndFeel
              extended by 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

Constructor Summary
AbstractLookAndFeel()
           
 
Method Summary
static ColorUIResource getAlterBackgroundColor()
           
static ColorUIResource getBackgroundColor()
           
abstract  AbstractBorderFactory getBorderFactory()
           
static ColorUIResource getButtonBackgroundColor()
           
static ColorUIResource getButtonColorDark()
           
static ColorUIResource getButtonColorLight()
           
static ColorUIResource getButtonForegroundColor()
           
static ColorUIResource getControlBackgroundColor()
           
static ColorUIResource getControlColorDark()
           
static ColorUIResource getControlColorLight()
           
 ColorUIResource getControlDarkShadowColor()
           
static ColorUIResource getControlForegroundColor()
           
 ColorUIResource getControlHighlightColor()
           
 ColorUIResource getControlShadowColor()
           
static MetalTheme getCurrentTheme()
           
static ColorUIResource getDesktopColor()
           
static ColorUIResource getDisabledBackgroundColor()
           
static ColorUIResource getDisabledForegroundColor()
           
static ColorUIResource getFocusCellColor()
           
static ColorUIResource getFocusColor()
           
static ColorUIResource getForegroundColor()
           
static ColorUIResource getFrameColor()
           
static ColorUIResource getGridColor()
           
abstract  AbstractIconFactory getIconFactory()
           
static ColorUIResource getInputBackgroundColor()
           
static ColorUIResource getInputForegroundColor()
           
static ColorUIResource getMenuBackgroundColor()
           
static ColorUIResource getMenuColorDark()
           
static ColorUIResource getMenuColorLight()
           
static ColorUIResource getMenuForegroundColor()
           
static ColorUIResource getMenuSelectionBackgroundColor()
           
static ColorUIResource getMenuSelectionForegroundColor()
           
static ColorUIResource getSelectionBackgroundColor()
           
static ColorUIResource getSelectionForegroundColor()
           
static ColorUIResource getTabAreaBackgroundColor()
           
static ColorUIResource getTabSelectionForegroundColor()
           
static AbstractTheme getTheme()
           
static List getThemes()
           
static ColorUIResource getToolbarBackgroundColor()
           
static ColorUIResource getToolbarColorDark()
           
static ColorUIResource getToolbarColorLight()
           
static ColorUIResource getToolbarDockingColor()
           
static ColorUIResource getToolbarForegroundColor()
           
static ColorUIResource getTooltipBackgroundColor()
           
static ColorUIResource getTooltipForegroundColor()
           
static ColorUIResource getWindowBorderColor()
           
static ColorUIResource getWindowInactiveBorderColor()
           
static ColorUIResource getWindowInactiveTitleBackgroundColor()
           
static ColorUIResource getWindowInactiveTitleColorDark()
           
static ColorUIResource getWindowInactiveTitleColorLight()
           
static ColorUIResource getWindowInactiveTitleForegroundColor()
           
static ColorUIResource getWindowTitleBackgroundColor()
           
static ColorUIResource getWindowTitleColorDark()
           
static ColorUIResource getWindowTitleColorLight()
           
static ColorUIResource getWindowTitleForegroundColor()
           
protected  void initComponentDefaults(UIDefaults table)
           
protected  void initSystemColorDefaults(UIDefaults table)
           
static boolean isWindowDecorationOn()
           
static void setTheme(AbstractTheme theme)
           
static void setTheme(String name)
          Set a theme by name.
 
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.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitialize
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractLookAndFeel

public AbstractLookAndFeel()
Method Detail

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.