|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
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.multi.MultiLookAndFeel
A Multiplexing UI Look and Feel that allows more than one UI to be associated with a component at the same time.
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 | |
MultiLookAndFeel()
|
Method Summary | |
static ComponentUI |
createUIs(ComponentUI mui,
Vector uis,
JComponent target)
Create the real UI's from the default and auxiliary look and feels, placing the results in the uis vector passed in. |
UIDefaults |
getDefaults()
This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table. |
String |
getDescription()
Return a one line description of this look and feel implementation, e.g. |
String |
getID()
Return a string that identifies this look and feel. |
String |
getName()
Return a short string that identifies this look and feel, e.g. |
boolean |
isNativeLookAndFeel()
If the underlying platform has a "native" look and feel, and this is an implementation of it, return true. |
boolean |
isSupportedLookAndFeel()
Return true if the underlying platform supports and or permits this look and feel. |
protected static ComponentUI[] |
uisToArray(Vector uis)
Turn the Vector of UI's into an array. |
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 |
Constructor Detail |
public MultiLookAndFeel()
Method Detail |
public String getName()
LookAndFeel
getName
in class LookAndFeel
public String getID()
LookAndFeel
getID
in class LookAndFeel
public String getDescription()
LookAndFeel
getDescription
in class LookAndFeel
public boolean isNativeLookAndFeel()
LookAndFeel
isNativeLookAndFeel
in class LookAndFeel
public boolean isSupportedLookAndFeel()
LookAndFeel
isSupportedLookAndFeel
in class LookAndFeel
javax.swing.LookAndFeel
UIManager.setLookAndFeel(javax.swing.LookAndFeel)
public UIDefaults getDefaults()
LookAndFeel
getDefaults
in class LookAndFeel
javax.swing.LookAndFeel
LookAndFeel.initialize()
,
LookAndFeel.uninitialize()
,
UIManager.setLookAndFeel(javax.swing.LookAndFeel)
public static ComponentUI createUIs(ComponentUI mui, Vector uis, JComponent target)
protected static ComponentUI[] uisToArray(Vector uis)
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
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-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.