All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.jlf.JLFLookAndFeel

java.lang.Object
    |
    +----java.awt.swing.AbstractLookAndFeel
            |
            +----java.awt.swing.jlf.JLFLookAndFeel

public class JLFLookAndFeel
extends AbstractLookAndFeel
implements Serializable
This class is used to define the UI classes and colors which define the Java Look & Feel.


Constructor Index

 o JLFLookAndFeel()

Method Index

 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 initClassDefaults(UIDefaults)
Initialize the uiClassID to BasicComponentUI mapping.
 o initComponentDefaults(UIDefaults)
 o initSystemColorDefaults(UIDefaults)
Load the SystemColors into the defaults table.
 o installColorsAndFont(JComponent, String, String, String)
 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.

Constructors

 o JLFLookAndFeel
public JLFLookAndFeel()

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 installColorsAndFont
public static void installColorsAndFont(JComponent c,
                                        String defaultBgName,
                                        String defaultFgName,
                                        String defaultFontName)
 o initClassDefaults
protected void initClassDefaults(UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. The JComponent classes define their own uiClassID constants (see AbstractComponent.getUIClassID). This table must map those constants to a BasicComponentUI class of the appropriate type.

See Also:
getDefaults
 o initSystemColorDefaults
protected void initSystemColorDefaults(UIDefaults table)
Load the SystemColors into the defaults table. The keys for SystemColor defaults are the same as the names of the public fields in SystemColor.

 o initComponentDefaults
protected void initComponentDefaults(UIDefaults table)
 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

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature