javax.swing.plaf.basic
Class BasicLookAndFeeljava.lang.Object | +--javax.swing.LookAndFeel | +--javax.swing.plaf.basic.BasicLookAndFeel
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MetalLookAndFeel
- public abstract class BasicLookAndFeel
- extends LookAndFeel
- implements Serializable
Implements the a standard base LookAndFeel class from which standard desktop LookAndFeel classes (JLF, Mac, Windows, etc.) can be derived. This class cannot be instantiated directly, however the UI classes "Basic" defines can be.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.
Constructor Summary
BasicLookAndFeel()
Method Summary
protected Action createAudioAction(Object key)
Returns an Action.protected ActionMap getAudioActionMap()
Returns an ActionMap.UIDefaults getDefaults()
This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table.protected void initClassDefaults(UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping.protected void initComponentDefaults(UIDefaults table)
protected void initSystemColorDefaults(UIDefaults table)
Load the SystemColors into the defaults table.protected void loadSystemColors(UIDefaults table, String[] systemColors, boolean useNative)
If this is the native look and feel the initial values for the system color properties are the same as the SystemColor constants.protected void playSound(Action audioAction)
Decides whether to fire the Action that is passed into it and, if needed, fires the Action's actionPerformed method.
Methods inherited from class javax.swing.LookAndFeel getDescription, getDesktopPropertyValue, getID, getName, getSupportsWindowDecorations, initialize, installBorder, installColors,