All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.multi.MultiLookAndFeel
java.lang.Object
|
+----java.awt.swing.AbstractLookAndFeel
|
+----java.awt.swing.multi.MultiLookAndFeel
- public class MultiLookAndFeel
- extends AbstractLookAndFeel
- implements Serializable
A Multiplexing UI Look and Feel that allows more than one UI
to be associated with a component at the same time.
MultiLookAndFeel()
-
createUIs(ComponentUI, Vector, JComponent)
- Create the real UI's from the default and auxiliary look and feels,
placing the results in the uis vector passed in.
getDefaults()
- This method is called once by UIManger.setLookAndFeel to create
the look and feel specific defaults table.
getDescription()
- Return a one line description of this look and feel implementation,
e.g.
getName()
- Return a short string that identifies this look and feel, e.g.
isNativeLookAndFeel()
- If the underlying platform has a "native" look and feel, and this
is an implementation of it, return true.
isSupportedLookAndFeel()
- Return true if the underlying platform supports and or permits
this look and feel.
uisToArray(Vector)
- Turn the Vector of UI's into an array.
MultiLookAndFeel
public MultiLookAndFeel()
getName
public String getName()
- Return a short string that identifies this look and feel, e.g.
- Overrides:
- getName in class AbstractLookAndFeel
getDescription
public String getDescription()
- Return a one line description of this look and feel implementation,
e.g.
- Overrides:
- getDescription in class AbstractLookAndFeel
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
- If the underlying platform has a "native" look and feel, and this
is an implementation of it, return true.
- Overrides:
- isNativeLookAndFeel in class AbstractLookAndFeel
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
- Return true if the underlying platform supports and or permits
this look and feel.
- Overrides:
- isSupportedLookAndFeel in class AbstractLookAndFeel
getDefaults
public UIDefaults getDefaults()
- This method is called once by UIManger.setLookAndFeel to create
the look and feel specific defaults table.
- Overrides:
- getDefaults in class AbstractLookAndFeel
createUIs
public 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.
- Returns:
- the ComponentUI for the component.
uisToArray
protected static ComponentUI[] uisToArray(Vector uis)
- Turn the Vector of UI's into an array.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature