Theme
PropertyTheme
instead, is behaves more like you would expect@Deprecated public final class PropertiesTheme extends Object implements Theme
Properties
object.Constructor | Description |
---|---|
PropertiesTheme(Properties properties) |
Deprecated.
Creates a new
PropertiesTheme that is initialized by the properties value |
Modifier and Type | Method | Description |
---|---|---|
ThemeDefinition |
getDefaultDefinition() |
Deprecated.
Returns what this theme considers to be the default definition
|
ThemeDefinition |
getDefinition(Class<?> clazz) |
Deprecated.
Returns the theme definition associated with this class.
|
WindowDecorationRenderer |
getWindowDecorationRenderer() |
Deprecated.
Returns the
WindowDecorationRenderer to use for windows drawn in this theme. |
WindowPostRenderer |
getWindowPostRenderer() |
Deprecated.
Returns a post-renderer to invoke after drawing each window, unless the GUI system or individual windows has
their own renderers set.
|
public PropertiesTheme(Properties properties)
PropertiesTheme
that is initialized by the properties valueproperties
- Properties to initialize this theme withpublic ThemeDefinition getDefaultDefinition()
Theme
getDefaultDefinition
in interface Theme
public ThemeDefinition getDefinition(Class<?> clazz)
Theme
null
, it should always give back a valid value (falling back to the default is nothing
else can be used).getDefinition
in interface Theme
clazz
- Class to get the theme definition forpublic WindowPostRenderer getWindowPostRenderer()
Theme
null
, no post-renderer will be done (unless the GUI system or the windows
has a post-renderer).getWindowPostRenderer
in interface Theme
WindowPostRenderer
to invoke after drawing each window unless
overridden, or null
if nonepublic WindowDecorationRenderer getWindowDecorationRenderer()
Theme
WindowDecorationRenderer
to use for windows drawn in this theme. If null
then
lanterna will fall back to use DefaultWindowDecorationRenderer
.getWindowDecorationRenderer
in interface Theme
null
to use system defaultCopyright © 2020. All rights reserved.