javax.swing.plaf.multi
Class MultiUIDefaults

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjavax.swing.UIDefaults
              extended byjavax.swing.plaf.multi.MultiUIDefaults
All Implemented Interfaces:
Cloneable, Map, Serializable

class MultiUIDefaults
extends UIDefaults

We want the Multiplexing LookAndFeel to be quiet and fallback gracefully if it cannot find a UI. This class overrides the getUIError method of UIDefaults, which is the method that emits error messages when it cannot find a UI class in the LAF.


Nested Class Summary
 
Nested classes inherited from class javax.swing.UIDefaults
UIDefaults.ActiveValue, UIDefaults.LazyInputMap, UIDefaults.LazyValue, UIDefaults.ProxyLazyValue
 
Nested classes inherited from class java.util.Hashtable
 
Field Summary
 
Fields inherited from class javax.swing.UIDefaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
(package private) MultiUIDefaults()
           
 
Method Summary
protected  void getUIError(String msg)
          If getUI() fails for any reason, it calls this method before returning null.
 
Methods inherited from class javax.swing.UIDefaults
addPropertyChangeListener, addResourceBundle, firePropertyChange, get, get, getBoolean, getBoolean, getBorder, getBorder, getColor, getColor, getDefaultLocale, getDimension, getDimension, getFont, getFont, getIcon, getIcon, getInsets, getInsets, getInt, getInt, getPropertyChangeListeners, getString, getString, getUI, getUIClass, getUIClass, put, putDefaults, removePropertyChangeListener, removeResourceBundle, setDefaultLocale
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiUIDefaults

MultiUIDefaults()
Method Detail

getUIError

protected void getUIError(String msg)
Description copied from class: UIDefaults
If getUI() fails for any reason, it calls this method before returning null. Subclasses may choose to do more or less here.

Overrides:
getUIError in class UIDefaults
Parameters:
msg - message string to print
See Also:
UIDefaults.getUI(javax.swing.JComponent)