Class Overview
DefaultLookup provides a way to customize the lookup done by the
UIManager. The default implementation of DefaultLookup forwards
the call to the UIManager.
WARNING: While this class is public, it should not be treated as
public API and its API may change in incompatable ways between dot dot
releases and even patch releases. You should not rely on this class even
existing.
Summary
Public Methods |
static
Object
|
get(JComponent c, ComponentUI ui, String key)
|
static
boolean
|
getBoolean(JComponent c, ComponentUI ui, String key, boolean defaultValue)
|
static
boolean
|
getBoolean(JComponent c, ComponentUI ui, String key)
|
static
Border
|
getBorder(JComponent c, ComponentUI ui, String key)
|
static
Border
|
getBorder(JComponent c, ComponentUI ui, String key, Border defaultValue)
|
static
Color
|
getColor(JComponent c, ComponentUI ui, String key, Color defaultValue)
|
static
Color
|
getColor(JComponent c, ComponentUI ui, String key)
|
Object
|
getDefault(JComponent c, ComponentUI ui, String key)
|
static
Icon
|
getIcon(JComponent c, ComponentUI ui, String key)
|
static
Icon
|
getIcon(JComponent c, ComponentUI ui, String key, Icon defaultValue)
|
static
Insets
|
getInsets(JComponent c, ComponentUI ui, String key, Insets defaultValue)
|
static
Insets
|
getInsets(JComponent c, ComponentUI ui, String key)
|
static
int
|
getInt(JComponent c, ComponentUI ui, String key, int defaultValue)
|
static
int
|
getInt(JComponent c, ComponentUI ui, String key)
|
static
void
|
setDefaultLookup(DefaultLookup lookup)
Sets the DefaultLookup instance to use for the current
AppContext .
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Public Constructors
Public Methods
public
static
void
setDefaultLookup
(DefaultLookup lookup)
Sets the DefaultLookup instance to use for the current
AppContext
. Null implies the UIManager should be
used.