com.jgoodies.looks.windows
Class WindowsLookAndFeel

java.lang.Object
  extended byjavax.swing.LookAndFeel
      extended byjavax.swing.plaf.basic.BasicLookAndFeel
          extended bycom.sun.java.swing.plaf.windows.WindowsLookAndFeel
              extended bycom.jgoodies.looks.windows.WindowsLookAndFeel
All Implemented Interfaces:
Serializable

public final class WindowsLookAndFeel
extends com.sun.java.swing.plaf.windows.WindowsLookAndFeel

The main class of the JGoodies Windows Look&Feel. This look provides several corrections and extensions to Sun's Windows L&F. In addition it tries to provide a unified look for the J2SE 1.4.0x, 1.4.1x, 1.4.2, and 1.5 environments.

Version:
$Revision: 1.6 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Field Summary
static String BORDER_STYLE_KEY
          Client property key to set a border style - shadows the header style.
 
Constructor Summary
WindowsLookAndFeel()
           
 
Method Summary
static Border getButtonBorder()
           
static Icon getCheckBoxIcon()
           
 String getDescription()
           
static FontSizeHints getFontSizeHints()
          Returns the current FontSizeHints; look specific settings shadow the global users defaults as stored under key FontSizeHints.KEY.
 String getID()
           
 String getName()
           
static Icon getRadioButtonIcon()
           
protected  void initClassDefaults(UIDefaults table)
          Initializes the class defaults, that is, overrides some UI delegates with JGoodies Windows implementations.
protected  void initComponentDefaults(UIDefaults table)
          Initializes the component defaults.
 void initialize()
          Invoked during UIManager#setLookAndFeel.
static void setFontSizeHints(FontSizeHints newHints)
          Sets FontSizeHints that shadow the global font size hints.
 void uninitialize()
          Invoked during UIManager#setLookAndFeel.
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
createAudioAction, initSystemColorDefaults, isClassicWindows, isMnemonicHidden, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setMnemonicHidden
 
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
getAudioActionMap, getDefaults, loadSystemColors, playSound
 
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getSupportsWindowDecorations, installBorder, installColors, installColorsAndFont, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BORDER_STYLE_KEY

public static final String BORDER_STYLE_KEY
Client property key to set a border style - shadows the header style.

See Also:
Constant Field Values
Constructor Detail

WindowsLookAndFeel

public WindowsLookAndFeel()
Method Detail

getID

public String getID()

getName

public String getName()

getDescription

public String getDescription()

getFontSizeHints

public static FontSizeHints getFontSizeHints()
Returns the current FontSizeHints; look specific settings shadow the global users defaults as stored under key FontSizeHints.KEY.

Returns:
the current FontSizeHints, either this L&Fs local hints, or the global hints if no local hints are available
See Also:
Options.setGlobalFontSizeHints(FontSizeHints), FontSizeHints

setFontSizeHints

public static void setFontSizeHints(FontSizeHints newHints)
Sets FontSizeHints that shadow the global font size hints.

See Also:
Options.setGlobalFontSizeHints(FontSizeHints), FontSizeHints

initialize

public void initialize()
Invoked during UIManager#setLookAndFeel. In addition to the superclass behavior, we install the ShadowPopupFactory.

See Also:
uninitialize()

uninitialize

public void uninitialize()
Invoked during UIManager#setLookAndFeel. In addition to the superclass behavior, we uninstall the ShadowPopupFactory.

See Also:
initialize()

initClassDefaults

protected void initClassDefaults(UIDefaults table)
Initializes the class defaults, that is, overrides some UI delegates with JGoodies Windows implementations.


initComponentDefaults

protected void initComponentDefaults(UIDefaults table)
Initializes the component defaults.


getButtonBorder

public static Border getButtonBorder()

getCheckBoxIcon

public static Icon getCheckBoxIcon()

getRadioButtonIcon

public static Icon getRadioButtonIcon()


Copyright © 2001-2005 JGoodies Karsten Lentzsch. All Rights Reserved.