|
||||||||||
| 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
javax.swing.plaf.metal.MetalLookAndFeel
smooth.metal.SmoothLookAndFeel
public class SmoothLookAndFeel
Smooth Metal Look And Feel. An enhanced version of the standard Metal Look And Feel by Sun Microsystems. This version uses the capabilities of the Java 2D API to create better looking, fully anti-aliased versions of the controls.
It is mainly intended as a technology demonstration and research project. The code is not optimized for speed or stability. Use it at your own risk.
| Field Summary | |
|---|---|
protected static java.lang.String |
SMOOTH_PACKAGE
|
| Fields inherited from interface smooth.SmoothLookAndFeel |
|---|
SMOOTH_BASIC |
| Constructor Summary | |
|---|---|
SmoothLookAndFeel()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
|
java.lang.String |
getID()
|
java.lang.String |
getName()
|
protected void |
initClassDefaults(javax.swing.UIDefaults uidefaults)
|
protected void |
initComponentDefaults(javax.swing.UIDefaults uidefaults)
|
boolean |
isAntiAliasing()
Retrieve the current status of AA. |
void |
setAntiAliasing(boolean on)
Turn anti-aliasing on or off. |
| Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel |
|---|
createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initSystemColorDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentTheme |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitialize |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, 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 |
|---|
protected static final java.lang.String SMOOTH_PACKAGE
| Constructor Detail |
|---|
public SmoothLookAndFeel()
| Method Detail |
|---|
protected void initComponentDefaults(javax.swing.UIDefaults uidefaults)
initComponentDefaults in class javax.swing.plaf.metal.MetalLookAndFeelprotected void initClassDefaults(javax.swing.UIDefaults uidefaults)
initClassDefaults in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getID()
getID in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getDescription()
getDescription in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getName()
getName in class javax.swing.plaf.metal.MetalLookAndFeelpublic boolean isAntiAliasing()
SmoothLookAndFeel
isAntiAliasing in interface SmoothLookAndFeelpublic void setAntiAliasing(boolean on)
SmoothLookAndFeel
setAntiAliasing in interface SmoothLookAndFeelon - true to turn AA on or false for off.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||