Uses of Interface
com.googlecode.lanterna.gui2.ComponentRenderer
-
Packages that use ComponentRenderer Package Description com.googlecode.lanterna.graphics com.googlecode.lanterna.gui2 com.googlecode.lanterna.gui2.menu com.googlecode.lanterna.gui2.table -
-
Uses of ComponentRenderer in com.googlecode.lanterna.graphics
Methods in com.googlecode.lanterna.graphics that return ComponentRenderer Modifier and Type Method Description <T extends Component>
ComponentRenderer<T>AbstractTheme.DefinitionImpl. getRenderer(java.lang.Class<T> type)
<T extends Component>
ComponentRenderer<T>DelegatingThemeDefinition. getRenderer(java.lang.Class<T> type)
<T extends Component>
ComponentRenderer<T>SimpleTheme.Definition. getRenderer(java.lang.Class<T> type)
ComponentRenderer<T>
SimpleTheme.RendererProvider. getRenderer(java.lang.Class<T> type)
<T extends Component>
ComponentRenderer<T>ThemeDefinition. getRenderer(java.lang.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.gui2 Modifier and Type Interface Description static interface
Border.BorderRenderer
static interface
Button.ButtonRenderer
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
TextBox.TextBoxRenderer
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 ComponentRenderer Modifier and Type Class Description static class
AbstractListBox.DefaultListBoxRenderer<V,T extends AbstractListBox<V,T>>
The default renderer forAbstractListBox
and all its subclasses.private static class
Borders.AbstractBorderRenderer
private static class
Borders.DoubleLineRenderer
private static class
Borders.SingleLineRenderer
static class
Button.BorderedButtonRenderer
static class
Button.DefaultButtonRenderer
This is the default button renderer that is used if you don't override anything.static class
Button.FlatButtonRenderer
Alternative button renderer that displays buttons with just the label and minimal decorationstatic class
CheckBox.CheckBoxRenderer
Helper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clearstatic class
CheckBox.DefaultCheckBoxRenderer
The default renderer that is used unless overridden.static class
ComboBox.ComboBoxRenderer<V>
Helper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clearstatic class
ComboBox.DefaultComboBoxRenderer<V>
This class is the default renderer implementation which will be used unless overridden.class
Panel.DefaultPanelRenderer
static class
ProgressBar.DefaultProgressBarRenderer
Default implementation of the progress bar GUI component renderer.static class
ProgressBar.LargeProgressBarRenderer
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
ScrollBar.DefaultScrollBarRenderer
Default renderer forScrollBar
which will be used unless overridden.static class
ScrollBar.ScrollBarRenderer
Helper class for making newScrollBar
renderers a little bit cleanerstatic class
Separator.DefaultSeparatorRenderer
This is the default separator renderer that is used if you don't override anything.static class
Separator.SeparatorRenderer
Helper interface that doesn't add any new methods but makes coding new button renderers a little bit more clearstatic class
TextBox.DefaultTextBoxRenderer
This is the default text box renderer that is used if you don't override anything.Fields in com.googlecode.lanterna.gui2 declared as ComponentRenderer Modifier and Type Field Description private 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 ComponentRenderer Modifier and Type Method Description protected 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()
ComponentRenderer<T>
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 ComponentRenderer Modifier and Type Method Description T
AbstractComponent. setRenderer(ComponentRenderer<T> renderer)
Explicitly sets theComponentRenderer
to be used when drawing this component. -
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.menu
Classes in com.googlecode.lanterna.gui2.menu that implement ComponentRenderer Modifier and Type Class Description class
MenuBar.DefaultMenuBarRenderer
The default implementation for rendering aMenuBar
static class
MenuItem.DefaultMenuItemRenderer
Default renderer for menu items (both sub-menus and regular items)static class
MenuItem.MenuItemRenderer
Helper interface that doesn't add any new methods but makes coding new menu renderers a little bit more clearMethods in com.googlecode.lanterna.gui2.menu that return ComponentRenderer Modifier and Type Method Description protected ComponentRenderer<MenuBar>
MenuBar. createDefaultRenderer()
-
Uses of ComponentRenderer in com.googlecode.lanterna.gui2.table
Subinterfaces of ComponentRenderer in com.googlecode.lanterna.gui2.table Modifier and Type Interface Description interface
TableRenderer<V>
Formalized interactable renderer for tablesClasses in com.googlecode.lanterna.gui2.table that implement ComponentRenderer Modifier and Type Class Description class
DefaultTableRenderer<V>
Default implementation ofTableRenderer
-