|
||||||||||
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 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, getDisabledIcon, 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 String BORDER_STYLE_KEY
Constructor Detail |
---|
public WindowsLookAndFeel()
Method Detail |
---|
public String getID()
getID
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
public String getName()
getName
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
public String getDescription()
getDescription
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
public static FontSizeHints getFontSizeHints()
FontSizeHints
; look specific
settings shadow the global users defaults as stored under
key FontSizeHints.KEY
.
Options.setGlobalFontSizeHints(FontSizeHints)
,
FontSizeHints
public static void setFontSizeHints(FontSizeHints newHints)
FontSizeHints
that shadow the global font size hints.
Options.setGlobalFontSizeHints(FontSizeHints)
,
FontSizeHints
public void initialize()
UIManager#setLookAndFeel
. In addition
to the superclass behavior, we install the ShadowPopupFactory.
initialize
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
uninitialize()
public void uninitialize()
UIManager#setLookAndFeel
. In addition
to the superclass behavior, we uninstall the ShadowPopupFactory.
uninitialize
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
initialize()
protected void initClassDefaults(UIDefaults table)
initClassDefaults
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
protected void initComponentDefaults(UIDefaults table)
initComponentDefaults
in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
public static Border getButtonBorder()
public static Icon getCheckBoxIcon()
public static Icon getRadioButtonIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |