public class MultiLookAndFeel extends LookAndFeel
| Constructor and Description |
|---|
MultiLookAndFeel()
Creates a new instance of the look and feel.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
getDesktopPropertyValue, getSupportsWindowDecorations, initialize, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, provideErrorFeedback, toString, uninitialize, uninstallBorderpublic MultiLookAndFeel()
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 LookAndFeelpublic 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.