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>
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
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, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
DefaultOffice2003Theme
public DefaultOffice2003Theme()
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
-