|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.LookAndFeel | +--javax.swing.plaf.basic.BasicLookAndFeel
Implements the a standard base LookAndFeel class from which standard desktop LookAndFeel classes (JLF, Mac, Windows, etc.) can be derived. This class cannot be instantiated directly, however the UI classes "Basic" defines can be.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.
Constructor Summary | |
BasicLookAndFeel()
|
Method Summary | |
UIDefaults |
getDefaults()
This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table. |
protected void |
initClassDefaults(UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. |
protected void |
initComponentDefaults(UIDefaults table)
|
protected void |
initSystemColorDefaults(UIDefaults table)
Load the SystemColors into the defaults table. |
protected void |
loadSystemColors(UIDefaults table,
String[] systemColors,
boolean useNative)
If this is the native look and feel the initial values for the system color properties are the same as the SystemColor constants. |
Methods inherited from class javax.swing.LookAndFeel |
getDescription, getID, getName, initialize, installBorder, installColors, installColorsAndFont, isNativeLookAndFeel, isSupportedLookAndFeel, 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 |
Constructor Detail |
public BasicLookAndFeel()
Method Detail |
public UIDefaults getDefaults()
LookAndFeel
getDefaults
in class LookAndFeel
javax.swing.LookAndFeel
LookAndFeel.initialize()
,
LookAndFeel.uninitialize()
,
UIManager.setLookAndFeel(javax.swing.LookAndFeel)
protected void initClassDefaults(UIDefaults table)
getDefaults()
protected void initSystemColorDefaults(UIDefaults table)
protected void loadSystemColors(UIDefaults table, String[] systemColors, boolean useNative)
systemColors
argument.protected void initComponentDefaults(UIDefaults table)
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.