Package com.jidesoft.plaf.office2003
Class DefaultOffice2003Theme
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- javax.swing.UIDefaults
-
- com.jidesoft.plaf.office2003.Office2003Theme
-
- com.jidesoft.plaf.office2003.DefaultOffice2003Theme
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
public class DefaultOffice2003Theme extends Office2003Theme
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.jidesoft.plaf.office2003.Office2003Theme
_uiDefaultsSelection
-
-
Constructor Summary
Constructors Constructor Description DefaultOffice2003Theme()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isUseStandardSelectionColor()
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
-
-
-
-
Method Detail
-
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
-
-
-