All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.motif.MotifLookAndFeel

java.lang.Object
    |
    +----java.awt.swing.AbstractLookAndFeel
            |
            +----java.awt.swing.basic.BasicLookAndFeel
                    |
                    +----java.awt.swing.motif.MotifLookAndFeel

public class MotifLookAndFeel
extends BasicLookAndFeel

Constructor Index

 o MotifLookAndFeel()

Method Index

 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 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 loadSystemColors(UIDefaults, String[])
If this is the native look and feel the initial values for the system color properties are the same as the SystemColor constants.

Constructors

 o MotifLookAndFeel
public MotifLookAndFeel()

Methods

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

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

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

Overrides:
isSupportedLookAndFeel in class BasicLookAndFeel
 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. If the table is being created on a native Motif platform we use the SystemColor values, otherwise we create color objects whose values match the default CDE/Motif colors.

Overrides:
initSystemColorDefaults in class BasicLookAndFeel
 o loadSystemColors
protected void loadSystemColors(UIDefaults table,
                                String[] systemColors)
If this is the native look and feel the initial values for the system color properties are the same as the SystemColor constants.

Overrides:
loadSystemColors in class BasicLookAndFeel
 o initClassDefaults
protected void initClassDefaults(UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping.

Overrides:
initClassDefaults in class BasicLookAndFeel
 o initComponentDefaults
protected void initComponentDefaults(UIDefaults table)
Overrides:
initComponentDefaults in class BasicLookAndFeel

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature