Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.table |
Modifier and Type | Interface and 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 clear
|
interface |
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 clear
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractListBox.DefaultListBoxRenderer<V,T extends AbstractListBox<V,T>>
The default renderer for
AbstractListBox and all its subclasses. |
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 decoration
|
static class |
CheckBox.CheckBoxRenderer
Helper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clear
|
static 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 clear
|
static class |
ComboBox.DefaultComboBoxRenderer<V>
This class is the default renderer implementation which will be used unless overridden.
|
static class |
ScrollBar.DefaultScrollBarRenderer
Default renderer for
ScrollBar which will be used unless overridden. |
static class |
ScrollBar.ScrollBarRenderer
Helper class for making new
ScrollBar renderers a little bit cleaner |
static 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 clear
|
static class |
TextBox.DefaultTextBoxRenderer
This is the default text box renderer that is used if you don't override anything.
|
Modifier and Type | Method and Description |
---|---|
protected ComponentRenderer<ScrollBar> |
ScrollBar.createDefaultRenderer() |
protected ComponentRenderer<Panel> |
Panel.createDefaultRenderer() |
protected ComponentRenderer<Label> |
Label.createDefaultRenderer() |
protected ComponentRenderer<EmptySpace> |
EmptySpace.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<Container> |
AbstractBasePane.ContentHolder.createDefaultRenderer() |
ComponentRenderer<? extends Component> |
Component.getRenderer()
Returns the renderer used to draw this component and measure its preferred size.
|
ComponentRenderer<T> |
AbstractComponent.getRenderer() |
protected ComponentRenderer<T> |
AbstractComponent.getRendererFromTheme(String className)
This will attempt to dynamically construct a
ComponentRenderer class from a string, assumed to be passed
in from a theme. |
Modifier and Type | Method and Description |
---|---|
T |
AbstractComponent.setRenderer(ComponentRenderer<T> renderer)
Explicitly sets the
ComponentRenderer to be used when drawing this component. |
Modifier and Type | Interface and Description |
---|---|
interface |
TableRenderer<V>
Formalized interactable renderer for tables
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTableRenderer<V>
Default implementation of
TableRenderer |
Copyright © 2016. All rights reserved.