Package com.jtattoo.plaf.smart
Class SmartLookAndFeel
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
com.jtattoo.plaf.AbstractLookAndFeel
com.jtattoo.plaf.smart.SmartLookAndFeel
- All Implemented Interfaces:
Serializable
SmartLookAndFeel class.
Author Michael Hagen- See Also:
-
Field Summary
Fields inherited from class com.jtattoo.plaf.AbstractLookAndFeel
currentThemeName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
getBorderFactory.getIconFactory.getID()
getName()
static Properties
getThemeProperties
(String name) getThemeProperties.getThemes.protected void
initClassDefaults
(UIDefaults table) boolean
boolean
static void
setCurrentTheme
(Properties themesProps) setCurrentTheme.static void
static void
setTheme.static void
setTheme
(Properties themesProps) setTheme.Methods inherited from class com.jtattoo.plaf.AbstractLookAndFeel
getAlterBackgroundColor, getBackgroundColor, getButtonBackgroundColor, getButtonColorDark, getButtonColorLight, getButtonForegroundColor, getControlBackgroundColor, getControlColorDark, getControlColorLight, getControlDarkShadowColor, getControlForegroundColor, getControlHighlightColor, getControlShadowColor, getCurrentTheme, getDesktopColor, getDisabledBackgroundColor, getDisabledForegroundColor, getFocusCellColor, getFocusColor, getForegroundColor, getFrameColor, getGridColor, getInputBackgroundColor, getInputForegroundColor, getMenuBackgroundColor, getMenuColorDark, getMenuColorLight, getMenuForegroundColor, getMenuSelectionBackgroundColor, getMenuSelectionForegroundColor, getSelectionBackgroundColor, getSelectionForegroundColor, getTabAreaBackgroundColor, getTabSelectionForegroundColor, getTheme, getToolbarBackgroundColor, getToolbarColorDark, getToolbarColorLight, getToolbarDockingColor, getToolbarForegroundColor, getTooltipBackgroundColor, getTooltipForegroundColor, getWindowBorderColor, getWindowInactiveBorderColor, getWindowInactiveTitleBackgroundColor, getWindowInactiveTitleColorDark, getWindowInactiveTitleColorLight, getWindowInactiveTitleForegroundColor, getWindowTitleBackgroundColor, getWindowTitleColorDark, getWindowTitleColorLight, getWindowTitleForegroundColor, initComponentDefaults, initSystemColorDefaults, isWindowDecorationOn, setTheme
Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel
getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getDefaults, getDisabledIcon, getDisabledSelectedIcon, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, 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
-
Constructor Details
-
SmartLookAndFeel
public SmartLookAndFeel()
-
-
Method Details
-
getThemeProperties
getThemeProperties.
- Parameters:
name
- aString
object.- Returns:
- a
Properties
object.
-
getThemes
getThemes.
- Returns:
- a
List
object.
-
setCurrentTheme
setCurrentTheme.
- Parameters:
themesProps
- aProperties
object.
-
setTheme
setTheme.
- Parameters:
themesProps
- aProperties
object.
-
setTheme
setTheme.
-
setTheme
setTheme.
-
createDefaultTheme
protected void createDefaultTheme()- Overrides:
createDefaultTheme
in classMetalLookAndFeel
-
getBorderFactory
getBorderFactory.
- Specified by:
getBorderFactory
in classAbstractLookAndFeel
- Returns:
- a
BorderFactory
object.
-
getDescription
- Overrides:
getDescription
in classMetalLookAndFeel
-
getIconFactory
getIconFactory.
- Specified by:
getIconFactory
in classAbstractLookAndFeel
- Returns:
- a
IconFactory
object.
-
getID
- Overrides:
getID
in classMetalLookAndFeel
-
getName
- Overrides:
getName
in classMetalLookAndFeel
-
initClassDefaults
- Overrides:
initClassDefaults
in classMetalLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()- Overrides:
isNativeLookAndFeel
in classMetalLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()- Overrides:
isSupportedLookAndFeel
in classMetalLookAndFeel
-