swingwtx.swing
Class UIManager

java.lang.Object
  extended byswingwtx.swing.UIManager

public class UIManager
extends java.lang.Object

Dumb skeleton of UI manager that should be good enough to fool any programs attempting to change the Swing L&F. Note that I have no intention of implementation the plaf package as that is just too damn far ;-)


Nested Class Summary
static class UIManager.LookAndFeelInfo
           
 
Constructor Summary
UIManager()
           
 
Method Summary
static java.lang.Object get(java.lang.String key)
           
static Color getColor(java.lang.Object key)
           
static java.lang.String getCrossPlatformLookAndFeelClassName()
           
static Font getFont(java.lang.Object key)
           
static UIManager.LookAndFeelInfo[] getInstalledLookAndFeels()
           
static LookAndFeel getLookAndFeel()
           
static UIDefaults getLookAndFeelDefaults()
           
static java.lang.String getSystemLookAndFeelClassName()
           
static void installLookAndFeel(java.lang.String name, java.lang.String className)
           
static void installLookAndFeel(UIManager.LookAndFeelInfo info)
           
static java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos)
           
static void setLookAndFeel(LookAndFeel newLookAndFeel)
           
static void setLookAndFeel(java.lang.String className)
           
static void setLookAndFeelDefaults(UIDefaults defaults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIManager

public UIManager()
Method Detail

get

public static java.lang.Object get(java.lang.String key)

put

public static java.lang.Object put(java.lang.Object key,
                                   java.lang.Object value)

getFont

public static Font getFont(java.lang.Object key)

getColor

public static Color getColor(java.lang.Object key)

getInstalledLookAndFeels

public static UIManager.LookAndFeelInfo[] getInstalledLookAndFeels()

getLookAndFeelDefaults

public static UIDefaults getLookAndFeelDefaults()

setLookAndFeelDefaults

public static void setLookAndFeelDefaults(UIDefaults defaults)

setInstalledLookAndFeels

public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos)
                                     throws java.lang.SecurityException
Throws:
java.lang.SecurityException

installLookAndFeel

public static void installLookAndFeel(UIManager.LookAndFeelInfo info)

installLookAndFeel

public static void installLookAndFeel(java.lang.String name,
                                      java.lang.String className)

getLookAndFeel

public static LookAndFeel getLookAndFeel()

setLookAndFeel

public static void setLookAndFeel(LookAndFeel newLookAndFeel)
                           throws UnsupportedLookAndFeelException
Throws:
UnsupportedLookAndFeelException

setLookAndFeel

public static void setLookAndFeel(java.lang.String className)
                           throws java.lang.ClassNotFoundException,
                                  java.lang.InstantiationException,
                                  java.lang.IllegalAccessException,
                                  UnsupportedLookAndFeelException
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
UnsupportedLookAndFeelException

getSystemLookAndFeelClassName

public static java.lang.String getSystemLookAndFeelClassName()

getCrossPlatformLookAndFeelClassName

public static java.lang.String getCrossPlatformLookAndFeelClassName()