Package org.kopi.vkopi.lib.ui.swing.plaf
Class KopiLookAndFeel
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
javax.swing.plaf.metal.MetalLookAndFeel
org.kopi.vkopi.lib.ui.swing.plaf.KopiLookAndFeel
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetID()getName()protected voidinitClassDefaults(UIDefaults table) protected voidinitComponentDefaults(UIDefaults table) protected voidbooleanbooleanprotected voidputDefault(UIDefaults table, String uiKey) static voidsetCurrentTheme(MetalTheme theme) Sets the current color theme.Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel
getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, 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, provideErrorFeedbackMethods 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
-
KopiLookAndFeel
public KopiLookAndFeel()
-
-
Method Details
-
getID
- Overrides:
getIDin classMetalLookAndFeel
-
getName
- Overrides:
getNamein classMetalLookAndFeel
-
getDescription
- Overrides:
getDescriptionin classMetalLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()- Overrides:
isNativeLookAndFeelin classMetalLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()- Overrides:
isSupportedLookAndFeelin classMetalLookAndFeel
-
initClassDefaults
- Overrides:
initClassDefaultsin classMetalLookAndFeel
-
initSystemColorDefaults
- Overrides:
initSystemColorDefaultsin classMetalLookAndFeel
-
initComponentDefaults
- Overrides:
initComponentDefaultsin classMetalLookAndFeel
-
putDefault
-
setCurrentTheme
Sets the current color theme. This works exactly as with the MetalLookAndFeel. Note that for customizing the gradients the method setCurrentGradientTheme() must be used. -
createDefaultTheme
protected void createDefaultTheme()- Overrides:
createDefaultThemein classMetalLookAndFeel
-