org.jvnet.substance.theme
Class SubstanceColorBlindTheme

java.lang.Object
  extended by org.jvnet.substance.theme.SubstanceTheme
      extended by org.jvnet.substance.theme.SubstanceWrapperTheme
          extended by org.jvnet.substance.theme.SubstanceColorBlindTheme
All Implemented Interfaces:
SubstanceTrait
Direct Known Subclasses:
SubstanceDeuteranopiaTheme, SubstanceProtanopiaTheme, SubstanceTritanopiaTheme

public abstract class SubstanceColorBlindTheme
extends SubstanceWrapperTheme

Color blindness theme. This class is part of officially supported API.

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.SubstanceWrapperTheme
borderTheme, defaultTheme, disabledTheme, originalTheme
 
Fields inherited from class org.jvnet.substance.theme.SubstanceTheme
AQUA, GREEN, ORANGE, YELLOW
 
Constructor Summary
SubstanceColorBlindTheme(SubstanceTheme originalTheme, ColorScheme colorScheme, java.lang.String displayName, SubstanceTheme.ThemeKind themeKind)
          Creates a new theme simulating color blindness.
 
Method Summary
 
Methods inherited from class org.jvnet.substance.theme.SubstanceWrapperTheme
getOriginalTheme
 
Methods inherited from class org.jvnet.substance.theme.SubstanceTheme
addCustomEntriesToTable, addUserDefined, createInstance, deuteranopia, getActiveTheme, getActiveTitlePaneTheme, getBackgroundColor, getBorderTheme, getColorScheme, getDefaultColorScheme, getDefaultColorScheme, getDefaultTheme, getDefaultTitlePaneTheme, getDisabledBackgroundColor, getDisabledColorScheme, getDisabledColorScheme, getDisabledForegroundColor, getDisabledTheme, getDisplayName, getFirstTheme, getForegroundColor, getHighlightTheme, getHighlightThemeAlpha, getKind, getLightBackgroundColor, getLineColor, getLineColorDefault, getNonActivePainter, getSecondTheme, getSelectedTabFadeEnd, getSelectedTabFadeStart, getSelectionBackgroundColor, getSelectionCellForegroundColor, getSelectionForegroundColor, getTheme, getTheme, getThemeAlpha, getThemeName, getWatermarkStampColor, getWatermarkTheme, hueShift, invert, isDark, negate, protanopia, saturate, saturate, shade, tint, tone, toString, tritanopia
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstanceColorBlindTheme

public SubstanceColorBlindTheme(SubstanceTheme originalTheme,
                                ColorScheme colorScheme,
                                java.lang.String displayName,
                                SubstanceTheme.ThemeKind themeKind)
Creates a new theme simulating color blindness.

Parameters:
originalTheme - The original theme.
colorScheme - Color scheme simulating color blindness.
displayName - Display name for the new theme.
themeKind - Theme kind for the new theme.