Class SaturatedColorScheme
- java.lang.Object
-
- org.pushingpixels.substance.api.colorscheme.BaseColorScheme
-
- org.pushingpixels.substance.internal.colorscheme.SaturatedColorScheme
-
- All Implemented Interfaces:
SchemeBaseColors
,SchemeDerivedColors
,SubstanceColorScheme
,SubstanceTrait
public class SaturatedColorScheme extends BaseColorScheme
Saturated color scheme. A saturated color scheme is a color scheme that is saturated / desaturated (using HSV).- See Also:
ShiftColorScheme
-
-
Field Summary
-
Fields inherited from class org.pushingpixels.substance.api.colorscheme.BaseColorScheme
derivedColorsResolver, displayName, isDark
-
-
Constructor Summary
Constructors Constructor Description SaturatedColorScheme(SubstanceColorScheme origScheme, double saturationFactor)
Creates a new saturated color scheme.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getDarkColor()
Retrieves the dark color.Color
getExtraLightColor()
Retrieves the extra color.Color
getForegroundColor()
Retrieves the foreground color.Color
getLightColor()
Retrieves the light color.Color
getMidColor()
Retrieves the medium color.SubstanceColorScheme
getOrigScheme()
Returns the original color scheme.double
getSaturationFactor()
Returns the saturation factor.Color
getUltraDarkColor()
Retrieves the ultra-dark color.Color
getUltraLightColor()
Retrieves the ultra-light color.-
Methods inherited from class org.pushingpixels.substance.api.colorscheme.BaseColorScheme
getBackgroundFillColor, getDisplayName, getFocusRingColor, getLineColor, getResolver, getSelectionBackgroundColor, getSelectionForegroundColor, getTextBackgroundFillColor, getWatermarkDarkColor, getWatermarkLightColor, getWatermarkStampColor, hueShift, invert, isDark, named, negate, saturate, shade, shift, shiftBackground, tint, tone, toString
-
-
-
-
Constructor Detail
-
SaturatedColorScheme
public SaturatedColorScheme(SubstanceColorScheme origScheme, double saturationFactor)
Creates a new saturated color scheme.- Parameters:
origScheme
- The original color scheme.saturationFactor
- Saturation factor. Should be in -1.0..1.0 range.
-
-
Method Detail
-
getForegroundColor
public Color getForegroundColor()
Description copied from interface:SchemeBaseColors
Retrieves the foreground color.- Returns:
- Foreground color.
-
getUltraLightColor
public Color getUltraLightColor()
Description copied from interface:SchemeBaseColors
Retrieves the ultra-light color.- Returns:
- Ultra-light color.
-
getExtraLightColor
public Color getExtraLightColor()
Description copied from interface:SchemeBaseColors
Retrieves the extra color.- Returns:
- Extra color.
-
getLightColor
public Color getLightColor()
Description copied from interface:SchemeBaseColors
Retrieves the light color.- Returns:
- Light color.
-
getMidColor
public Color getMidColor()
Description copied from interface:SchemeBaseColors
Retrieves the medium color.- Returns:
- Medium color.
-
getDarkColor
public Color getDarkColor()
Description copied from interface:SchemeBaseColors
Retrieves the dark color.- Returns:
- Dark color.
-
getUltraDarkColor
public Color getUltraDarkColor()
Description copied from interface:SchemeBaseColors
Retrieves the ultra-dark color.- Returns:
- Ultra-dark color.
-
getOrigScheme
public SubstanceColorScheme getOrigScheme()
Returns the original color scheme.- Returns:
- The original color scheme.
-
getSaturationFactor
public double getSaturationFactor()
Returns the saturation factor.- Returns:
- Saturation factor.
-
-