Substance look and feel - mixed themes

Mixed theme uses two simple themes, main and secondary. Here are examples of mixed themes:

Aqua & Light Aqua Barby Pink & Raspberry Bottle Green & Lime Green Brown & Sun Glare Sunset & Orange

In order to globally enable mixed themes in your application you can use the following API in SubstanceLookAndFeel class:

  /**
   * Globally registers a new <code>mixed</code> theme.
   
   @param mixedTheme
   *            A <code>mixed</code> theme to register.
   */
  public static void addMixedTheme(SubstanceMixBiTheme mixedTheme)
  /**
   * Globally registers a new <code>mixed</code> theme.
   
   @param theme1
   *            The main theme for the new <code>mixed</code> theme.
   @param theme2
   *            The secondary theme for the new <code>mixed</code> theme.
   */
  public static void addMixedTheme(SubstanceTheme theme1,
      SubstanceTheme theme2)
  /**
   * Globally registers a collection of <code>mixed</code> themes such as:
   <ul>
   <li>The specified theme is the main theme for a new <code>mixed</code>
   * theme.
   <li>The secondary theme is of the same kind.
   </ul>
   
   @param mainTheme
   *            The main theme for the new <code>mixed</code> themes.
   */
  public static void addMixedThemeBy(SubstanceTheme mainTheme)

In addition, you can set mixed theme on a single control in the same way that you set custom theme on a single control (using SubstanceLookAndFeel.THEME_PROPERTY client property).