Package com.jidesoft.plaf.office2003
Class BasicOffice2003Theme
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- javax.swing.UIDefaults
-
- com.jidesoft.plaf.office2003.Office2003Theme
-
- com.jidesoft.plaf.office2003.BasicOffice2003Theme
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.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
-
-
Field Summary
-
Fields inherited from class com.jidesoft.plaf.office2003.Office2003Theme
_uiDefaultsSelection
-
-
Constructor Summary
Constructors Constructor Description BasicOffice2003Theme(java.lang.String themeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Color
getBaseColor()
Gets the base color for this theme.void
setBaseColor(java.awt.Color color, boolean derivedSelectionColor, java.lang.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, 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
-
-
-
-
Method Detail
-
setBaseColor
public void setBaseColor(java.awt.Color color, boolean derivedSelectionColor, java.lang.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 java.awt.Color getBaseColor()
Gets the base color for this theme. It is set usingsetBaseColor(java.awt.Color,boolean,String)
method.- Returns:
- the base color.
-
-