swing.addon.plaf.themelf
Class ThemeLF
java.lang.Object
|
+--javax.swing.LookAndFeel
|
+--javax.swing.plaf.basic.BasicLookAndFeel
|
+--swing.addon.plaf.themelf.ThemeLF
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ThemeLookAndFeel
- public class ThemeLF
- extends javax.swing.plaf.basic.BasicLookAndFeel
- See Also:
- Serialized Form
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
loadSystemColors |
Methods inherited from class javax.swing.LookAndFeel |
initialize, installBorder, installColors, installColorsAndFont, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninitialize, uninstallBorder |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThemeLF
public ThemeLF()
getDefaultFont
public static final javax.swing.plaf.FontUIResource getDefaultFont(java.lang.String s)
getDefaults
public javax.swing.UIDefaults getDefaults()
- Overrides:
getDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription
in class javax.swing.LookAndFeel
getID
public java.lang.String getID()
- Overrides:
getID
in class javax.swing.LookAndFeel
getInstallationDirectory
public static java.lang.String getInstallationDirectory()
getName
public java.lang.String getName()
- Overrides:
getName
in class javax.swing.LookAndFeel
getThemes
public static java.lang.String[] getThemes()
initClassDefaults
protected void initClassDefaults(javax.swing.UIDefaults table)
- Initialize the uiClassID to BasicComponentUI mapping.
The JComponent classes define their own uiClassID constants
(see AbstractComponent.getUIClassID). This table must
map those constants to a BasicComponentUI class of the
appropriate type.
- Overrides:
initClassDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
- See Also:
BasicLookAndFeel.getDefaults()
initComponentDefaults
protected void initComponentDefaults(javax.swing.UIDefaults table)
- Overrides:
initComponentDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
initSystemColorDefaults
protected void initSystemColorDefaults(javax.swing.UIDefaults table)
- Load the SystemColors into the defaults table. The keys
for SystemColor defaults are the same as the names of
the public fields in SystemColor.
- Overrides:
initSystemColorDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
- Overrides:
isNativeLookAndFeel
in class javax.swing.LookAndFeel
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
- Overrides:
isSupportedLookAndFeel
in class javax.swing.LookAndFeel