Package | Description |
---|---|
com.googlecode.lanterna.graphics |
Modifier and Type | Method | Description |
---|---|---|
SimpleTheme.Definition |
SimpleTheme.addOverride(Class<?> clazz,
TextColor foreground,
TextColor background,
SGR... styles) |
Adds an override for a particular class, or overwrites a previously defined override.
|
SimpleTheme.Definition |
SimpleTheme.getDefaultDefinition() |
|
SimpleTheme.Definition |
SimpleTheme.getDefinition(Class<?> clazz) |
|
SimpleTheme.Definition |
SimpleTheme.Definition.setActive(TextColor foreground,
TextColor background,
SGR... styles) |
Sets the theme definition style "active"
|
SimpleTheme.Definition |
SimpleTheme.Definition.setBooleanProperty(String name,
boolean value) |
Attaches a boolean value property to this
SimpleTheme that will be returned if calling
getBooleanProperty(String, boolean) with the same name. |
SimpleTheme.Definition |
SimpleTheme.Definition.setCharacter(String name,
char character) |
Stores a character value in this definition under a specific name.
|
SimpleTheme.Definition |
SimpleTheme.Definition.setCursorVisible(boolean cursorVisible) |
Sets the value that suggests if the cursor should be visible or not (it's still up to the component renderer
if it's going to honour this or not).
|
SimpleTheme.Definition |
SimpleTheme.Definition.setCustom(String name,
TextColor foreground,
TextColor background,
SGR... styles) |
Adds a custom definition style to the theme using the supplied name.
|
SimpleTheme.Definition |
SimpleTheme.Definition.setInsensitive(TextColor foreground,
TextColor background,
SGR... styles) |
Sets the theme definition style "insensitive"
|
SimpleTheme.Definition |
SimpleTheme.Definition.setPreLight(TextColor foreground,
TextColor background,
SGR... styles) |
Sets the theme definition style "prelight"
|
<T extends Component> |
SimpleTheme.Definition.setRenderer(Class<T> type,
SimpleTheme.RendererProvider<T> rendererProvider) |
Registered a callback to get a custom
ComponentRenderer for a particular class. |
SimpleTheme.Definition |
SimpleTheme.Definition.setSelected(TextColor foreground,
TextColor background,
SGR... styles) |
Sets the theme definition style "selected"
|
Copyright © 2020. All rights reserved.