org.jvnet.substance.theme
Class SubstanceMixBiTheme

java.lang.Object
  extended by org.jvnet.substance.theme.SubstanceTheme
      extended by org.jvnet.substance.theme.SubstanceMixTheme
          extended by org.jvnet.substance.theme.SubstanceMixBiTheme
All Implemented Interfaces:
SubstanceTrait

Deprecated. since version 3.1, use SubstanceMixTheme.

@Deprecated
public class SubstanceMixBiTheme
extends SubstanceMixTheme

Mixed theme. Mixed theme is based on two original themes, using the first theme for the left part of the painting, the second theme for the right part of the painting, and the theme blend gradient in the middle. Here is how you can create and set a mixed theme:

SubstanceTheme mixed = new SubstanceMixBiTheme(
  SubstanceAquaTheme(), SubstanceBottleGreenTheme());
SubstanceLookAndFeel.setCurrentTheme(mixed);
for (Frame frame : Frame.getFrames()) {
  SwingUtilities.updateComponentTreeUI(frame);
}

Author:
Kirill Grouchnikov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jvnet.substance.theme.SubstanceTheme
SubstanceTheme.ThemeKind
 
Field Summary
 
Fields inherited from class org.jvnet.substance.theme.SubstanceTheme
AQUA, GREEN, ORANGE, YELLOW
 
Constructor Summary
SubstanceMixBiTheme(SubstanceTheme originalFirstTheme, SubstanceTheme originalSecondTheme)
          Deprecated. Creates a new mixed theme.
 
Method Summary
 
Methods inherited from class org.jvnet.substance.theme.SubstanceMixTheme
getDefaultTheme, getDisabledTheme, getFirstTheme, getOriginalThemes, getSecondTheme, hueShift, invert, negate, saturate, shade, tint, tone
 
Methods inherited from class org.jvnet.substance.theme.SubstanceTheme
addCustomEntriesToTable, addUserDefined, createInstance, deuteranopia, getActiveTheme, getActiveTitlePaneTheme, getBackgroundColor, getBorderTheme, getColorScheme, getDefaultColorScheme, getDefaultColorScheme, getDefaultTitlePaneTheme, getDisabledBackgroundColor, getDisabledColorScheme, getDisabledColorScheme, getDisabledForegroundColor, getDisplayName, getForegroundColor, getHighlightTheme, getHighlightThemeAlpha, getKind, getLightBackgroundColor, getLineColor, getLineColorDefault, getNonActivePainter, getSelectedTabFadeEnd, getSelectedTabFadeStart, getSelectionBackgroundColor, getSelectionCellForegroundColor, getSelectionForegroundColor, getTheme, getTheme, getThemeAlpha, getThemeName, getWatermarkStampColor, getWatermarkTheme, isDark, protanopia, saturate, toString, tritanopia
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstanceMixBiTheme

public SubstanceMixBiTheme(SubstanceTheme originalFirstTheme,
                           SubstanceTheme originalSecondTheme)
Deprecated. 
Creates a new mixed theme.

Parameters:
originalFirstTheme - The first original theme.
originalSecondTheme - The second original theme.