JIDE 3.5.15

com.jidesoft.plaf.office2003
Class BasicOffice2003Theme

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.BasicOffice2003Theme
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class BasicOffice2003Theme
extends Office2003Theme

BasicOffice2003Theme is a special Office2003 theme that uses a base color to calculate all other colors used by JIDE components. This is done regardless what current XP theme you are using.

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
BasicOffice2003Theme(String themeName)
           
 
Method Summary
 Color getBaseColor()
          Gets the base color for this theme.
 void setBaseColor(Color color, boolean derivedSelectionColor, String prefix)
          Sets the base color.
 
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

BasicOffice2003Theme

public BasicOffice2003Theme(String themeName)
Method Detail

setBaseColor

public void setBaseColor(Color color,
                         boolean derivedSelectionColor,
                         String prefix)
Sets the base color. The Office2003 theme will use this color as base color and calculate all other colors that will be used by JIDE components.

Parameters:
color - the base color.
derivedSelectionColor - if deriving selection colors from the base color. Selection color is used in places like JideButton's background and DockableFrame's title pane background.
prefix - the prefix is for the expand/collapse icon on collapsible pane. Available prefixes are "default", "blue", "homestead", "metallic", and "gray". You can decide which one to use depending on what base color is. In most cases, "default" works just fine. But if your base color has more blue, using "blue" will produce a better result. If green, you can use "homestead".

getBaseColor

public Color getBaseColor()
Gets the base color for this theme. It is set using setBaseColor(java.awt.Color,boolean,String) method.

Returns:
the base color.

JIDE 3.5.15