JIDE 3.5.15

com.jidesoft.plaf.office2003
Class DefaultOffice2003Theme

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by javax.swing.UIDefaults
              extended by com.jidesoft.plaf.office2003.Office2003Theme
                  extended by 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

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
DefaultOffice2003Theme()
           
 
Method Summary
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, 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

DefaultOffice2003Theme

public DefaultOffice2003Theme()
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 -

JIDE 3.5.15