AbstractTheme
, DelegatingTheme
, PropertiesTheme
, PropertyTheme
, SimpleTheme
public interface Theme
Modifier and Type | Method | Description |
---|---|---|
ThemeDefinition |
getDefaultDefinition() |
Returns what this theme considers to be the default definition
|
ThemeDefinition |
getDefinition(Class<?> clazz) |
Returns the theme definition associated with this class.
|
WindowDecorationRenderer |
getWindowDecorationRenderer() |
Returns the
WindowDecorationRenderer to use for windows drawn in this theme. |
WindowPostRenderer |
getWindowPostRenderer() |
Returns a post-renderer to invoke after drawing each window, unless the GUI system or individual windows has
their own renderers set.
|
ThemeDefinition getDefaultDefinition()
ThemeDefinition getDefinition(Class<?> clazz)
null
, it should always give back a valid value (falling back to the default is nothing
else can be used).clazz
- Class to get the theme definition forWindowPostRenderer getWindowPostRenderer()
null
, no post-renderer will be done (unless the GUI system or the windows
has a post-renderer).WindowPostRenderer
to invoke after drawing each window unless
overridden, or null
if noneWindowDecorationRenderer getWindowDecorationRenderer()
WindowDecorationRenderer
to use for windows drawn in this theme. If null
then
lanterna will fall back to use DefaultWindowDecorationRenderer
.null
to use system defaultCopyright © 2020. All rights reserved.