Uses of Class
com.googlecode.lanterna.graphics.SimpleTheme.Definition
Packages that use SimpleTheme.Definition
-
Uses of SimpleTheme.Definition in com.googlecode.lanterna.graphics
Fields in com.googlecode.lanterna.graphics declared as SimpleTheme.DefinitionModifier and TypeFieldDescriptionprivate final SimpleTheme.Definition
SimpleTheme.defaultDefinition
Fields in com.googlecode.lanterna.graphics with type parameters of type SimpleTheme.DefinitionModifier and TypeFieldDescriptionprivate final Map
<Class<?>, SimpleTheme.Definition> SimpleTheme.overrideDefinitions
Methods in com.googlecode.lanterna.graphics that return SimpleTheme.DefinitionModifier and TypeMethodDescriptionSimpleTheme.addOverride
(Class<?> clazz, TextColor foreground, TextColor background, SGR... styles) Adds an override for a particular class, or overwrites a previously defined override.SimpleTheme.getDefaultDefinition()
SimpleTheme.getDefinition
(Class<?> clazz) Sets the theme definition style "active"SimpleTheme.Definition.setBooleanProperty
(String name, boolean value) Attaches a boolean value property to thisSimpleTheme
that will be returned if callinggetBooleanProperty(String, boolean)
with the same name.SimpleTheme.Definition.setCharacter
(String name, char character) Stores a character value in this definition under a specific name.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.setCustom
(String name, TextColor foreground, TextColor background, SGR... styles) Adds a custom definition style to the theme using the supplied name.SimpleTheme.Definition.setInsensitive
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "insensitive"SimpleTheme.Definition.setPreLight
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "prelight"<T extends Component>
SimpleTheme.DefinitionSimpleTheme.Definition.setRenderer
(Class<T> type, SimpleTheme.RendererProvider<T> rendererProvider) Registered a callback to get a customComponentRenderer
for a particular class.SimpleTheme.Definition.setSelected
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "selected"