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:
java.io.Serializable
public class DefaultClassicTheme extends DelegatingLookAndFeel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultClassicTheme()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.UIDefaultsgetDefaults()java.lang.StringgetDescription()java.lang.StringgetID()java.lang.StringgetName()static voidloadPlugins()static javax.swing.UIDefaultssetDefaults(javax.swing.UIDefaults defaults)Apply theme default values to the suppliedUIDefaultsobject.static voidunloadPlugins()-
Methods inherited from class org.omegat.gui.theme.DelegatingLookAndFeel
getDisabledIcon, getDisabledSelectedIcon, getLayoutStyle, getSupportsWindowDecorations, initialize, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, uninitialize
-
-
-
-
Method Detail
-
loadPlugins
public static void loadPlugins()
-
unloadPlugins
public static void unloadPlugins()
-
getName
public java.lang.String getName()
- Specified by:
getNamein classjavax.swing.LookAndFeel
-
getID
public java.lang.String getID()
- Specified by:
getIDin classjavax.swing.LookAndFeel
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classjavax.swing.LookAndFeel
-
getDefaults
public javax.swing.UIDefaults getDefaults()
- Overrides:
getDefaultsin classDelegatingLookAndFeel
-
setDefaults
public static javax.swing.UIDefaults setDefaults(javax.swing.UIDefaults defaults)
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
-
-