Class 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:
  • Constructor Details

    • BasicOffice2003Theme

      public BasicOffice2003Theme(String themeName)
  • Method Details

    • 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.