Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.table |
Modifier and Type | Interface and Description |
---|---|
interface |
Border
Main interface for different border classes, with additional methods to help lanterna figure out the size and offset
of components wrapped by borders.
|
interface |
Component
This is the main interface defining a component in Lanterna, although you will probably not implement this directly
but rather extend the
AbstractComponent or another one of the sub-classes instead to avoid implementing most
of the methods in this interface. |
interface |
Container
Container is a component that contains a collection of child components.
|
interface |
Interactable
This interface marks a component as able to receive keyboard input from the user.
|
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractBasePane.ContentHolder |
class |
AbstractBorder
Abstract implementation of
Border interface that has some of the methods filled out. |
class |
AbstractComponent<T extends Component>
AbstractComponent provides some good default behaviour for a
Component , all components in Lanterna extends
from this class in some way. |
class |
AbstractComposite<T extends Container>
This abstract implementation contains common code for the different
Composite implementations. |
class |
AbstractInteractableComponent<T extends AbstractInteractableComponent<T>>
Default implementation of Interactable that extends from AbstractComponent.
|
class |
AbstractListBox<V,T extends AbstractListBox<V,T>>
Base class for several list box implementations, this will handle things like list of items and the scrollbar.
|
class |
ActionListBox
This class is a list box implementation that displays a number of items that has actions associated with them.
|
class |
AnimatedLabel
This is a special label that contains not just a single text to display but a number of frames that are cycled
through.
|
class |
Button
Simple labeled button with an optional action attached to it, you trigger the action by pressing the Enter key on the
keyboard when the component is in focus.
|
class |
CheckBox
The checkbox component looks like a regular checkbox that you can find in modern graphics user interfaces, a label
and a space that the user can toggle on and off by using enter or space keys.
|
class |
CheckBoxList<V>
This is a list box implementation where each item has its own checked state that can be toggled on and off
|
class |
ComboBox<V>
This is a simple combo box implementation that allows the user to select one out of multiple items through a
drop-down menu.
|
class |
EmptySpace
Simple component which draws a solid color over its area.
|
class |
Label
Label is a simple read-only text display component.
|
class |
Panel
This class is the basic building block for creating user interfaces, being the standard implementation of
Container that supports multiple children. |
class |
RadioBoxList<V>
The list box will display a number of items, of which one and only one can be marked as selected.
|
class |
ScrollBar
Classic scrollbar that can be used to display where inside a larger component a view is showing.
|
class |
Separator
Static non-interactive component that is typically rendered as a single line.
|
class |
TextBox
This component keeps a text content that is editable by the user.
|
Modifier and Type | Class and Description |
---|---|
class |
Table<V>
The table class is an interactable component that displays a grid of cells containing data along with a header of
labels.
|
Copyright © 2016. All rights reserved.