javax.swing.plaf.multi
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, uninstallBorder
public MultiLookAndFeel()
public String getName()
getName
in class LookAndFeel
public String getID()
getID
in class LookAndFeel
public String getDescription()
getDescription
in class LookAndFeel
public boolean isNativeLookAndFeel()
false
to indicate that this look and feel is not
native to any platform.isNativeLookAndFeel
in class LookAndFeel
false
.public boolean isSupportedLookAndFeel()
true
always, since this look and feel is supported on
all platforms.isSupportedLookAndFeel
in class LookAndFeel
true
.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.