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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetBorderFactory.getIconFactory.getID()getName()static PropertiesgetThemeProperties(String name) getThemeProperties.getThemes.protected voidinitClassDefaults(UIDefaults table) booleanbooleanstatic voidsetCurrentTheme(Properties themesProps) setCurrentTheme.static voidstatic voidsetTheme.static voidsetTheme(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, setThemeMethods 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, setCurrentThemeMethods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitializeMethods 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- aStringobject.- Returns:
- a
Propertiesobject.
-
getThemes
getThemes.
- Returns:
- a
Listobject.
-
setCurrentTheme
setCurrentTheme.
- Parameters:
themesProps- aPropertiesobject.
-
setTheme
setTheme.
- Parameters:
themesProps- aPropertiesobject.
-
setTheme
setTheme.
-
setTheme
setTheme.
-
createDefaultTheme
protected void createDefaultTheme()- Overrides:
createDefaultThemein classMetalLookAndFeel
-
getBorderFactory
getBorderFactory.
- Specified by:
getBorderFactoryin classAbstractLookAndFeel- Returns:
- a
BorderFactoryobject.
-
getDescription
- Overrides:
getDescriptionin classMetalLookAndFeel
-
getIconFactory
getIconFactory.
- Specified by:
getIconFactoryin classAbstractLookAndFeel- Returns:
- a
IconFactoryobject.
-
getID
- Overrides:
getIDin classMetalLookAndFeel
-
getName
- Overrides:
getNamein classMetalLookAndFeel
-
initClassDefaults
- Overrides:
initClassDefaultsin classMetalLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()- Overrides:
isNativeLookAndFeelin classMetalLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()- Overrides:
isSupportedLookAndFeelin classMetalLookAndFeel
-