smooth.windows
Class SmoothLookAndFeel

java.lang.Object
  extended by javax.swing.LookAndFeel
      extended by javax.swing.plaf.basic.BasicLookAndFeel
          extended by com.sun.java.swing.plaf.windows.WindowsLookAndFeel
              extended by smooth.windows.SmoothLookAndFeel
All Implemented Interfaces:
java.io.Serializable, SmoothLookAndFeel

public class SmoothLookAndFeel
extends com.sun.java.swing.plaf.windows.WindowsLookAndFeel
implements SmoothLookAndFeel

Smooth Windows. Adds anti-aliasing to Windows LnF.

Author:
James Shiell, Marcel Offermans
See Also:
Serialized Form

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 com.sun.java.swing.plaf.windows.WindowsLookAndFeel
createAudioAction, getDisabledIcon, getLayoutStyle, initialize, initSystemColorDefaults, isClassicWindows, isMnemonicHidden, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setMnemonicHidden, uninitialize
 
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

SMOOTH_PACKAGE

protected static final java.lang.String SMOOTH_PACKAGE
See Also:
Constant Field Values
Constructor Detail

SmoothLookAndFeel

public SmoothLookAndFeel()
Method Detail

initComponentDefaults

protected void initComponentDefaults(javax.swing.UIDefaults uidefaults)
Overrides:
initComponentDefaults in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel

initClassDefaults

protected void initClassDefaults(javax.swing.UIDefaults uidefaults)
Overrides:
initClassDefaults in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel

getID

public java.lang.String getID()
Overrides:
getID in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel

getName

public java.lang.String getName()
Overrides:
getName in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel

isAntiAliasing

public boolean isAntiAliasing()
Description copied from interface: SmoothLookAndFeel
Retrieve the current status of AA.

Specified by:
isAntiAliasing in interface SmoothLookAndFeel
Returns:
true if anti-aliasing, false otherwise.

setAntiAliasing

public void setAntiAliasing(boolean on)
Description copied from interface: SmoothLookAndFeel
Turn anti-aliasing on or off.

Specified by:
setAntiAliasing in interface SmoothLookAndFeel
Parameters:
on - true to turn AA on or false for off.


Licensed under the MIT license.