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.UIDefaults
getDefaults()
java.lang.String
getDescription()
java.lang.String
getID()
java.lang.String
getName()
static void
loadPlugins()
static javax.swing.UIDefaults
setDefaults(javax.swing.UIDefaults defaults)
Apply theme default values to the suppliedUIDefaults
object.static void
unloadPlugins()
-
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:
getName
in classjavax.swing.LookAndFeel
-
getID
public java.lang.String getID()
- Specified by:
getID
in classjavax.swing.LookAndFeel
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classjavax.swing.LookAndFeel
-
getDefaults
public javax.swing.UIDefaults getDefaults()
- Overrides:
getDefaults
in classDelegatingLookAndFeel
-
setDefaults
public static javax.swing.UIDefaults setDefaults(javax.swing.UIDefaults defaults)
Apply theme default values to the suppliedUIDefaults
object. Suitable for third-party themes that want to modify the default theme.- Parameters:
defaults
- theUIDefaults
object such as fromLookAndFeel.getDefaults()
- Returns:
- the modified
UIDefaults
object
-
-