com.jidesoft.plaf.office2003
Class BasicOffice2003Theme
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.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
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 |
BasicOffice2003Theme
public BasicOffice2003Theme(String themeName)
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.