Java javax.swing UIDefaults fields, constructors, methods, implement or subclass

Example usage for Java javax.swing UIDefaults fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing UIDefaults.

The text is from its open source code.

Constructor

UIDefaults()
Creates an empty defaults table.

Method

Objectget(Object key)
Returns the value for key.
booleangetBoolean(Object key)
If the value of key is boolean, return the boolean value, otherwise return false.
BordergetBorder(Object key)
If the value of key is a Border return it, otherwise return null.
ColorgetColor(Object key)
If the value of key is a Color return it, otherwise return null.
DimensiongetDimension(Object key)
If the value of key is a Dimension return it, otherwise return null.
FontgetFont(Object key)
If the value of key is a Font return it, otherwise return null.
IcongetIcon(Object key)
If the value of key is an Icon return it, otherwise return null.
InsetsgetInsets(Object key)
If the value of key is an Insets return it, otherwise return null.
intgetInt(Object key)
If the value of key is an Integer return its integer value, otherwise return 0.
StringgetString(Object key)
If the value of key is a String return it, otherwise return null.
ComponentUIgetUI(JComponent target)
Creates an ComponentUI implementation for the specified component.
ClassgetUIClass(String uiClassID, ClassLoader uiClassLoader)
The value of get(uidClassID) must be the String name of a class that implements the corresponding ComponentUI class.
Objectput(Object key, Object value)
Sets the value of key to value for all locales.