Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.UIDefaults

        javax.swing.UIDefaults.ActiveValue, javax.swing.UIDefaults.LazyInputMap, javax.swing.UIDefaults.LazyValue, javax.swing.UIDefaults.ProxyLazyValue
    • 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 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
      • 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 -