javax.swing.plaf.multi
Class MultiUIDefaults
java.lang.Object
java.util.Dictionary
java.util.Hashtable
javax.swing.UIDefaults
javax.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 classes inherited from class java.util.Hashtable |
|
Fields inherited from class javax.swing.UIDefaults |
|
Fields inherited from class java.util.Hashtable |
|
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 |
MultiUIDefaults
MultiUIDefaults()
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)