Class AbstractTheme.StyleImpl

java.lang.Object
com.googlecode.lanterna.graphics.AbstractTheme.StyleImpl
All Implemented Interfaces:
ThemeStyle
Enclosing class:
AbstractTheme

private class AbstractTheme.StyleImpl extends Object implements ThemeStyle
  • Field Details

  • Constructor Details

  • Method Details

    • getForeground

      public TextColor getForeground()
      Description copied from interface: ThemeStyle
      Returns the foreground color associated with this style
      Specified by:
      getForeground in interface ThemeStyle
      Returns:
      foreground color associated with this style
    • getBackground

      public TextColor getBackground()
      Description copied from interface: ThemeStyle
      Returns the background color associated with this style
      Specified by:
      getBackground in interface ThemeStyle
      Returns:
      background color associated with this style
    • getSGRs

      public EnumSet<SGR> getSGRs()
      Description copied from interface: ThemeStyle
      Returns the set of SGR flags associated with this style. This EnumSet is either unmodifiable or a copy so altering it will not change the theme in any way.
      Specified by:
      getSGRs in interface ThemeStyle
      Returns:
      SGR flags associated with this style