Example usage for Java javax.swing UIManager fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addPropertyChangeListener(PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list. |
Object | get(Object key) Returns an object from the defaults. |
Object | get(Object key, Locale l) Returns an object from the defaults that is appropriate for the given locale. |
LookAndFeel[] | getAuxiliaryLookAndFeels() Returns the list of auxiliary look and feels (can be null ). |
boolean | getBoolean(Object key) Returns a boolean from the defaults which is associated with the key value. |
Border | getBorder(Object key) Returns a border from the defaults. |
Color | getColor(Object key) Returns a color from the defaults. |
Color | getColor(Object key, Locale l) Returns a color from the defaults that is appropriate for the given locale. |
String | getCrossPlatformLookAndFeelClassName() Returns the name of the LookAndFeel class that implements the default cross platform look and feel -- the Java Look and Feel (JLF). |
UIDefaults | getDefaults() Returns the defaults. |
Font | getFont(Object key) Returns a font from the defaults. |
Icon | getIcon(Object key) Returns an Icon from the defaults. |
LookAndFeelInfo[] | getInstalledLookAndFeels() Returns an array of LookAndFeelInfo s representing the LookAndFeel implementations currently available. |
int | getInt(Object key) Returns an integer from the defaults. |
LookAndFeel | getLookAndFeel() Returns the current look and feel or null . |
UIDefaults | getLookAndFeelDefaults() Returns the UIDefaults from the current look and feel, that were obtained at the time the look and feel was installed. |
String | getString(Object key) Returns a string from the defaults. |
String | getSystemLookAndFeelClassName() Returns the name of the LookAndFeel class that implements the native system look and feel if there is one, otherwise the name of the default cross platform LookAndFeel class. |
ComponentUI | getUI(JComponent target) Returns the appropriate ComponentUI implementation for target . |
void | installLookAndFeel(String name, String className) Adds the specified look and feel to the set of available look and feels. |
Object | put(Object key, Object value) Stores an object in the developer defaults. |
void | setLookAndFeel(LookAndFeel newLookAndFeel) Sets the current look and feel to newLookAndFeel . |
void | setLookAndFeel(String className) Loads the LookAndFeel specified by the given class name, using the current thread's context class loader, and passes it to setLookAndFeel(LookAndFeel) . |