|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel
com.jgoodies.looks.windows.WindowsLookAndFeel
public final class 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.
| Field Summary | |
|---|---|
static java.lang.String |
BORDER_STYLE_KEY
Client property key to set a border style - shadows the header style. |
| Constructor Summary | |
|---|---|
WindowsLookAndFeel()
|
|
| Method Summary | |
|---|---|
static javax.swing.border.Border |
getButtonBorder()
|
static javax.swing.Icon |
getCheckBoxIcon()
|
java.lang.String |
getDescription()
|
static FontSizeHints |
getFontSizeHints()
Returns the current FontSizeHints; look specific
settings shadow the global users defaults as stored under
key FontSizeHints.KEY. |
java.lang.String |
getID()
|
java.lang.String |
getName()
|
static javax.swing.Icon |
getRadioButtonIcon()
|
protected void |
initClassDefaults(javax.swing.UIDefaults table)
Initializes the class defaults, that is, overrides some UI delegates with JGoodies Windows implementations. |
protected void |
initComponentDefaults(javax.swing.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, getDisabledIcon, getLayoutStyle, 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, getDisabledSelectedIcon, getSupportsWindowDecorations, installBorder, installColors, installColorsAndFont, installProperty, 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 |
|---|
public static final java.lang.String BORDER_STYLE_KEY
| Constructor Detail |
|---|
public WindowsLookAndFeel()
| Method Detail |
|---|
public java.lang.String getID()
getID in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic java.lang.String getName()
getName in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic java.lang.String getDescription()
getDescription in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic static FontSizeHints getFontSizeHints()
FontSizeHints; look specific
settings shadow the global users defaults as stored under
key FontSizeHints.KEY.
Options.setGlobalFontSizeHints(FontSizeHints),
FontSizeHintspublic static void setFontSizeHints(FontSizeHints newHints)
FontSizeHints that shadow the global font size hints.
Options.setGlobalFontSizeHints(FontSizeHints),
FontSizeHintspublic void initialize()
UIManager#setLookAndFeel. In addition
to the superclass behavior, we install the ShadowPopupFactory.
initialize in class com.sun.java.swing.plaf.windows.WindowsLookAndFeeluninitialize()public void uninitialize()
UIManager#setLookAndFeel. In addition
to the superclass behavior, we uninstall the ShadowPopupFactory.
uninitialize in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelinitialize()protected void initClassDefaults(javax.swing.UIDefaults table)
initClassDefaults in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelprotected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in class com.sun.java.swing.plaf.windows.WindowsLookAndFeelpublic static javax.swing.border.Border getButtonBorder()
public static javax.swing.Icon getCheckBoxIcon()
public static javax.swing.Icon getRadioButtonIcon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||