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.


Constructor Index

 o MultiLookAndFeel()

Method Index

 o 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.
 o getDefaults()
This method is called once by UIManger.setLookAndFeel to create the look and feel specific defaults table.
 o getDescription()
Return a one line description of this look and feel implementation, e.g.
 o getName()
Return a short string that identifies this look and feel, e.g.
 o isNativeLookAndFeel()
If the underlying platform has a "native" look and feel, and this is an implementation of it, return true.
 o isSupportedLookAndFeel()
Return true if the underlying platform supports and or permits this look and feel.
 o uisToArray(Vector)
Turn the Vector of UI's into an array.

Constructors

 o MultiLookAndFeel
public MultiLookAndFeel()

Methods

 o getName
public String getName()
Return a short string that identifies this look and feel, e.g.

Overrides:
getName in class AbstractLookAndFeel
 o getDescription
public String getDescription()
Return a one line description of this look and feel implementation, e.g.

Overrides:
getDescription in class AbstractLookAndFeel
 o 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
 o isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
Return true if the underlying platform supports and or permits this look and feel.

Overrides:
isSupportedLookAndFeel in class AbstractLookAndFeel
 o 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
 o 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.
 o 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