Module com.googlecode.lanterna
Package com.googlecode.lanterna.graphics
Class AbstractTheme.StyleImpl
java.lang.Object
com.googlecode.lanterna.graphics.AbstractTheme.StyleImpl
- All Implemented Interfaces:
ThemeStyle
- Enclosing class:
AbstractTheme
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the background color associated with this styleReturns the foreground color associated with this stylegetSGRs()
Returns the set of SGR flags associated with this style.
-
Field Details
-
styleNode
-
name
-
-
Constructor Details
-
StyleImpl
-
-
Method Details
-
getForeground
Description copied from interface:ThemeStyle
Returns the foreground color associated with this style- Specified by:
getForeground
in interfaceThemeStyle
- Returns:
- foreground color associated with this style
-
getBackground
Description copied from interface:ThemeStyle
Returns the background color associated with this style- Specified by:
getBackground
in interfaceThemeStyle
- Returns:
- background color associated with this style
-
getSGRs
Description copied from interface:ThemeStyle
Returns the set of SGR flags associated with this style. ThisEnumSet
is either unmodifiable or a copy so altering it will not change the theme in any way.- Specified by:
getSGRs
in interfaceThemeStyle
- Returns:
- SGR flags associated with this style
-