Class InvertedColorScheme
java.lang.Object
org.pushingpixels.substance.api.colorscheme.BaseColorScheme
org.pushingpixels.substance.internal.colorscheme.InvertedColorScheme
- All Implemented Interfaces:
SchemeBaseColors
,SchemeDerivedColors
,SubstanceColorScheme
,SubstanceTrait
Implementation of inverted color scheme. Inverted color scheme is based on
some original color scheme, switching the dark colors by light colors and
inverting the foreground color.
-
Field Summary
Fields inherited from class org.pushingpixels.substance.api.colorscheme.BaseColorScheme
derivedColorsResolver, displayName, isDark
-
Constructor Summary
ConstructorsConstructorDescriptionInvertedColorScheme
(SubstanceColorScheme origScheme) Creates a new inverted scheme. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the dark color.Retrieves the extra color.Retrieves the foreground color.Retrieves the light color.Retrieves the medium color.Returns the original color scheme.Retrieves the ultra-dark color.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 Details
-
InvertedColorScheme
Creates a new inverted scheme.- Parameters:
origScheme
- The original color scheme.
-
-
Method Details
-
getForegroundColor
Description copied from interface:SchemeBaseColors
Retrieves the foreground color.- Returns:
- Foreground color.
-
getUltraLightColor
Description copied from interface:SchemeBaseColors
Retrieves the ultra-light color.- Returns:
- Ultra-light color.
-
getExtraLightColor
Description copied from interface:SchemeBaseColors
Retrieves the extra color.- Returns:
- Extra color.
-
getLightColor
Description copied from interface:SchemeBaseColors
Retrieves the light color.- Returns:
- Light color.
-
getMidColor
Description copied from interface:SchemeBaseColors
Retrieves the medium color.- Returns:
- Medium color.
-
getDarkColor
Description copied from interface:SchemeBaseColors
Retrieves the dark color.- Returns:
- Dark color.
-
getUltraDarkColor
Description copied from interface:SchemeBaseColors
Retrieves the ultra-dark color.- Returns:
- Ultra-dark color.
-
getOrigScheme
Returns the original color scheme.- Returns:
- The original color scheme.
-