|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.multi.MultiLookAndFeel
public class MultiLookAndFeel
A look and feel that provides the ability to use auxiliary look and feels in addition to the primary look and feel.
| Constructor Summary | |
|---|---|
MultiLookAndFeel()
Creates a new instance of the look and feel. |
|
| Method Summary | |
|---|---|
static ComponentUI |
createUIs(ComponentUI mui,
Vector uis,
JComponent target)
Creates the UI delegates for the target component and
returns a multiplexing UI delegate (mui) if there are
multiple delegates. |
UIDefaults |
getDefaults()
Creates and returns the UI defaults for this look and feel. |
String |
getDescription()
Returns a description of the look and feel. |
String |
getID()
Returns an identifier for the look and feel. |
String |
getName()
Returns the name for the look and feel. |
boolean |
isNativeLookAndFeel()
Returns false to indicate that this look and feel is not
native to any platform. |
boolean |
isSupportedLookAndFeel()
Returns true always, since this look and feel is supported on
all platforms. |
protected static ComponentUI[] |
uisToArray(Vector uis)
Returns an array containing the same ComponentUI instances as
uis. |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, getSupportsWindowDecorations, initialize, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, 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()
getName in class LookAndFeelpublic String getID()
getID in class LookAndFeelpublic String getDescription()
getDescription in class LookAndFeelpublic boolean isNativeLookAndFeel()
false to indicate that this look and feel is not
native to any platform.
isNativeLookAndFeel in class LookAndFeelfalse.public boolean isSupportedLookAndFeel()
true always, since this look and feel is supported on
all platforms.
isSupportedLookAndFeel in class LookAndFeeltrue.public UIDefaults getDefaults()
getDefaults in class LookAndFeel
public static ComponentUI createUIs(ComponentUI mui,
Vector uis,
JComponent target)
target component and
returns a multiplexing UI delegate (mui) if there are
multiple delegates.
mui - a multiplexing UI delegate appropriate for the component.uis - a vector into which the UI delegates will be added.target - the target component.
protected static ComponentUI[] uisToArray(Vector uis)
ComponentUI instances as
uis. If uis is null, a zero-length
array is returned.
uis - a list of ComponentUI references (null
permitted).
ComponentUI instances as
uis, or null if uis is
empty.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||