Module com.googlecode.lanterna
Package com.googlecode.lanterna.graphics
Interface ThemedTextGraphics
- All Superinterfaces:
StyleSet<TextGraphics>
,TextGraphics
- All Known Subinterfaces:
TextGUIGraphics
- All Known Implementing Classes:
DefaultTextGUIGraphics
Expanded TextGraphics that adds methods to interact with themes
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.googlecode.lanterna.graphics.StyleSet
StyleSet.Set
-
Method Summary
Modifier and TypeMethodDescriptionapplyThemeStyle
(ThemeStyle themeStyle) Takes a ThemeStyle as applies it to this TextGraphics.Methods inherited from interface com.googlecode.lanterna.graphics.StyleSet
clearModifiers, disableModifiers, enableModifiers, getActiveModifiers, getBackgroundColor, getForegroundColor, setBackgroundColor, setForegroundColor, setModifiers, setStyleFrom
Methods inherited from interface com.googlecode.lanterna.graphics.TextGraphics
drawImage, drawImage, drawLine, drawLine, drawLine, drawLine, drawRectangle, drawRectangle, drawTriangle, drawTriangle, fill, fillRectangle, fillRectangle, fillTriangle, fillTriangle, getCharacter, getCharacter, getSize, getTabBehaviour, newTextGraphics, putCSIStyledString, putCSIStyledString, putString, putString, putString, putString, putString, setCharacter, setCharacter, setCharacter, setCharacter, setTabBehaviour
-
Method Details
-
applyThemeStyle
Takes a ThemeStyle as applies it to this TextGraphics. This will effectively set the foreground color, the background color and all the SGRs.- Parameters:
themeStyle
- ThemeStyle to apply- Returns:
- Itself
-