Example usage for Java javax.swing UIDefaults fields, constructors, methods, implement or subclass
The text is from its open source code.
UIDefaults() Creates an empty defaults table. |
Object | get(Object key) Returns the value for key. |
boolean | getBoolean(Object key) If the value of key is boolean, return the boolean value, otherwise return false. |
Border | getBorder(Object key) If the value of key is a Border return it, otherwise return null . |
Color | getColor(Object key) If the value of key is a Color return it, otherwise return null . |
Dimension | getDimension(Object key) If the value of key is a Dimension return it, otherwise return null . |
Font | getFont(Object key) If the value of key is a Font return it, otherwise return null . |
Icon | getIcon(Object key) If the value of key is an Icon return it, otherwise return null . |
Insets | getInsets(Object key) If the value of key is an Insets return it, otherwise return null . |
int | getInt(Object key) If the value of key is an Integer return its integer value, otherwise return 0. |
String | getString(Object key) If the value of key is a String return it, otherwise return null . |
ComponentUI | getUI(JComponent target) Creates an ComponentUI implementation for the specified component. |
Class extends ComponentUI> | getUIClass(String uiClassID, ClassLoader uiClassLoader) The value of get(uidClassID) must be the String name of a class that implements the corresponding ComponentUI class. |
Object | put(Object key, Object value) Sets the value of key to value for all locales. |