JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.swing
Class WindowsLookAndFeel

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 net.sf.japi.swing.WindowsLookAndFeel
All Implemented Interfaces:
Serializable

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

Windows Look And Feel on UNIX. This class extends the original WindowsLookAndFeel to circumveniate the checks that let it run on Windows only and makes it run on any other OS as well.

Author:
Christian Hujer
See Also:
Serialized Form

Constructor Summary
WindowsLookAndFeel()
           
 
Method Summary
 void initialize()
          UIManager.setLookAndFeel calls this method before the first call (and typically the only call) to getDefaults().
 boolean isSupportedLookAndFeel()
          Return true if the underlying platform supports and or permits this look and feel.
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
createAudioAction, getDescription, getID, getName, initClassDefaults, initComponentDefaults, initSystemColorDefaults, isClassicWindows, isMnemonicHidden, isNativeLookAndFeel, provideErrorFeedback, setMnemonicHidden, uninitialize
 
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
 

Constructor Detail

WindowsLookAndFeel

public WindowsLookAndFeel()
Method Detail

initialize

public void initialize()
UIManager.setLookAndFeel calls this method before the first call (and typically the only call) to getDefaults().

Overrides:
initialize in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
See Also:
LookAndFeel.uninitialize(), UIManager.setLookAndFeel(javax.swing.LookAndFeel)

isSupportedLookAndFeel

public boolean isSupportedLookAndFeel()
Return true if the underlying platform supports and or permits this look and feel. This method returns false if the look and feel depends on special resources or legal agreements that aren't defined for the current platform.

Overrides:
isSupportedLookAndFeel in class com.sun.java.swing.plaf.windows.WindowsLookAndFeel
See Also:
UIManager.setLookAndFeel(javax.swing.LookAndFeel)

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright