Uses of Interface
com.googlecode.lanterna.gui2.ComponentRenderer
Packages that use ComponentRenderer
Package
Description
-
Uses of ComponentRenderer in com.googlecode.lanterna.graphics
Methods in com.googlecode.lanterna.graphics that return ComponentRendererModifier and TypeMethodDescription<T extends Component>
ComponentRenderer<T> AbstractTheme.DefinitionImpl.getRenderer
(Class<T> type) <T extends Component>
ComponentRenderer<T> DelegatingThemeDefinition.getRenderer
(Class<T> type) <T extends Component>
ComponentRenderer<T> SimpleTheme.Definition.getRenderer
(Class<T> type) SimpleTheme.RendererProvider.getRenderer
(Class<T> type) <T extends Component>
ComponentRenderer<T> ThemeDefinition.getRenderer
(Class<T> type) Returns aComponentRenderer
attached to this definition for the specified type. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2Modifier and TypeInterfaceDescriptionstatic interface
static interface
Helper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearinterface
InteractableRenderer<T extends Component & Interactable>
Extended interface for component renderers used with interactable components.static interface
Helper interface that doesn't add any new methods but makes coding new text box renderers a little bit more clearClasses in com.googlecode.lanterna.gui2 that implement ComponentRendererModifier and TypeClassDescriptionstatic class
AbstractListBox.DefaultListBoxRenderer<V,
T extends AbstractListBox<V, T>> The default renderer forAbstractListBox
and all its subclasses.private static class
private static class
private static class
static class
static class
This is the default button renderer that is used if you don't override anything.static class
Alternative button renderer that displays buttons with just the label and minimal decorationstatic class
Helper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clearstatic class
The default renderer that is used unless overridden.static class
Helper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clearstatic class
This class is the default renderer implementation which will be used unless overridden.class
static class
Default implementation of the progress bar GUI component renderer.static class
This progress bar renderer implementation takes slightly more space (three rows) and draws a slightly more complicates progress bar with fixed measurers to mark 25%, 50% and 75%.static class
Default renderer forScrollBar
which will be used unless overridden.static class
Helper class for making newScrollBar
renderers a little bit cleanerstatic class
This is the default separator renderer that is used if you don't override anything.static class
Helper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearstatic class
This is the default text box renderer that is used if you don't override anything.Fields in com.googlecode.lanterna.gui2 declared as ComponentRendererModifier and TypeFieldDescriptionprivate ComponentRenderer
<T> AbstractComponent.defaultRenderer
If the theme had nothing for this component and no override is set, this is the third fallbackprivate ComponentRenderer
<T> AbstractComponent.overrideRenderer
Manually set rendererprivate ComponentRenderer
<T> AbstractComponent.themeRenderer
If overrideRenderer is not set, this is used instead if not null, set by the themeMethods in com.googlecode.lanterna.gui2 that return ComponentRendererModifier and TypeMethodDescriptionprotected ComponentRenderer
<Container> AbstractBasePane.ContentHolder.createDefaultRenderer()
protected abstract ComponentRenderer
<T> AbstractComponent.createDefaultRenderer()
When you create a custom component, you need to implement this method and return a Renderer which is responsible for taking care of sizing the component, rendering it and choosing where to place the cursor (if Interactable).protected ComponentRenderer
<EmptySpace> EmptySpace.createDefaultRenderer()
protected ComponentRenderer
<EmptySpace> GUIBackdrop.createDefaultRenderer()
protected ComponentRenderer
<Label> Label.createDefaultRenderer()
protected ComponentRenderer
<Panel> Panel.createDefaultRenderer()
protected ComponentRenderer
<ProgressBar> ProgressBar.createDefaultRenderer()
protected ComponentRenderer
<ScrollBar> ScrollBar.createDefaultRenderer()
AbstractComponent.getRenderer()
ComponentRenderer
<? extends Component> Component.getRenderer()
Returns the renderer used to draw this component and measure its preferred size.Methods in com.googlecode.lanterna.gui2 with parameters of type ComponentRendererModifier and TypeMethodDescriptionAbstractComponent.setRenderer
(ComponentRenderer<T> renderer) Explicitly sets theComponentRenderer
to be used when drawing this component. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.table
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2.tableModifier and TypeInterfaceDescriptioninterface
Formalized interactable renderer for tablesClasses in com.googlecode.lanterna.gui2.table that implement ComponentRendererModifier and TypeClassDescriptionclass
Default implementation ofTableRenderer