org.jvnet.substance.colorscheme
Class TintColorScheme

java.lang.Object
  extended by org.jvnet.substance.colorscheme.BaseColorScheme
      extended by org.jvnet.substance.colorscheme.ShiftColorScheme
          extended by org.jvnet.substance.colorscheme.TintColorScheme
All Implemented Interfaces:
SchemeBaseColors, SchemeDerivedColors, SubstanceColorScheme, SubstanceTrait

public class TintColorScheme
extends ShiftColorScheme

Tinted color scheme. A tinted color scheme is a color scheme that is shifted to white color.

Author:
Kirill Grouchnikov
See Also:
ShiftColorScheme

Field Summary
 
Fields inherited from class org.jvnet.substance.colorscheme.ShiftColorScheme
shiftedCache
 
Fields inherited from class org.jvnet.substance.colorscheme.BaseColorScheme
derivedColorsResolver, displayName, isDark
 
Constructor Summary
TintColorScheme(SubstanceColorScheme origColorScheme, double tintFactor)
          Creates a new tinted color scheme.
 
Method Summary
 
Methods inherited from class org.jvnet.substance.colorscheme.ShiftColorScheme
getDarkColor, getExtraLightColor, getForegroundColor, getLightColor, getMidColor, getOrigScheme, getShiftedScheme, getShiftFactor, getUltraDarkColor, getUltraLightColor
 
Methods inherited from class org.jvnet.substance.colorscheme.BaseColorScheme
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TintColorScheme

public TintColorScheme(SubstanceColorScheme origColorScheme,
                       double tintFactor)
Creates a new tinted color scheme.

Parameters:
origColorScheme - The original color scheme.
tintFactor - The tint factor. Should be in 0.0-1.0 range.