swingwtx.swing
Class UIManager
java.lang.Object
swingwtx.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 ;-)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIManager
public UIManager()
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()