Package org.omegat.gui.theme
Class DefaultClassicTheme
java.lang.Object
javax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
org.omegat.gui.theme.DelegatingLookAndFeel
org.omegat.gui.theme.DefaultClassicTheme
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()getName()static voidstatic UIDefaultssetDefaults(UIDefaults defaults) Apply theme default values to the suppliedUIDefaultsobject.static voidMethods inherited from class org.omegat.gui.theme.DelegatingLookAndFeel
getDisabledIcon, getDisabledSelectedIcon, getLayoutStyle, getSupportsWindowDecorations, initialize, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, uninitializeMethods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
-
Constructor Details
-
DefaultClassicTheme
- Throws:
Exception
-
-
Method Details
-
loadPlugins
public static void loadPlugins() -
unloadPlugins
public static void unloadPlugins() -
getName
- Specified by:
getNamein classLookAndFeel
-
getID
- Specified by:
getIDin classLookAndFeel
-
getDescription
- Specified by:
getDescriptionin classLookAndFeel
-
getDefaults
- Overrides:
getDefaultsin classBasicLookAndFeel
-
setDefaults
Apply theme default values to the suppliedUIDefaultsobject. Suitable for third-party themes that want to modify the default theme.- Parameters:
defaults- theUIDefaultsobject such as fromLookAndFeel.getDefaults()- Returns:
- the modified
UIDefaultsobject
-