Package com.jidesoft.plaf.office2003
Class DefaultOffice2003Theme
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
javax.swing.UIDefaults
com.jidesoft.plaf.office2003.Office2003Theme
com.jidesoft.plaf.office2003.DefaultOffice2003Theme
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
The default 2003 theme. This theme doesn't define any color of its own but derive all colors from
the underlying L&F. If your application used a customized L&F other than Windows L&F, this is
the preferred theme as it will consider the colors defined underlying L&F to make it looks consistent
than hard-coded themes such as BLUE, HOMESTEAD of METALLIC.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.UIDefaults
UIDefaults.ActiveValue, UIDefaults.LazyInputMap, UIDefaults.LazyValue, UIDefaults.ProxyLazyValue
-
Field Summary
Fields inherited from class com.jidesoft.plaf.office2003.Office2003Theme
_uiDefaultsSelection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if the standard selection color will be used.static void
setUseStandardSelectionColor
(boolean useStandardSelectionColor) Sets if the standard selection color will be used.Methods inherited from class com.jidesoft.plaf.office2003.Office2003Theme
getThemeName, setThemeName
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, getUIError, put, putDefaults, removePropertyChangeListener, removeResourceBundle, setDefaultLocale
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
Constructor Details
-
DefaultOffice2003Theme
public DefaultOffice2003Theme()
-
-
Method Details
-
isUseStandardSelectionColor
public static boolean isUseStandardSelectionColor()Checks if the standard selection color will be used.- Returns:
- true if the standard selection color will be used.
-
setUseStandardSelectionColor
public static void setUseStandardSelectionColor(boolean useStandardSelectionColor) Sets if the standard selection color will be used. The standard selection color (orange) is the color that used in Office 2003 to indicate a button is selected or focused. By default it will be used for all Office 2003 theme including DefayltOffice2003Theme. If user chooses not to use it, the theme will derive the color from the default selection color of the LookAndFeel. If you want to call this method, make sure you call it before LookAndFeelFactory.installJideExtension(...) is called.- Parameters:
useStandardSelectionColor
-
-