Class InvertedColorScheme

java.lang.Object
org.pushingpixels.radiance.theming.api.colorscheme.BaseColorScheme
org.pushingpixels.radiance.theming.internal.colorscheme.InvertedColorScheme
All Implemented Interfaces:
RadianceColorScheme, SchemeBaseColors, SchemeDerivedColors, RadianceTrait

public class InvertedColorScheme extends BaseColorScheme
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 Details

    • mainUltraLightColor

      private Color mainUltraLightColor
      The main ultra-light color.
    • mainExtraLightColor

      private Color mainExtraLightColor
      The main extra-light color.
    • mainLightColor

      private Color mainLightColor
      The main light color.
    • mainMidColor

      private Color mainMidColor
      The main medium color.
    • mainDarkColor

      private Color mainDarkColor
      The main dark color.
    • mainUltraDarkColor

      private Color mainUltraDarkColor
      The main ultra-dark color.
    • foregroundColor

      private Color foregroundColor
      The foreground color.
    • origScheme

      private RadianceColorScheme origScheme
      The original color scheme.
  • Constructor Details

    • InvertedColorScheme

      public InvertedColorScheme(RadianceColorScheme origScheme)
      Creates a new inverted scheme.
      Parameters:
      origScheme - The original color scheme.
  • Method Details

    • 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 RadianceColorScheme getOrigScheme()
      Returns the original color scheme.
      Returns:
      The original color scheme.