Package | Description |
---|---|
com.googlecode.lanterna.graphics | |
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.dialogs | |
com.googlecode.lanterna.gui2.table |
Class | Description |
---|---|
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. |
ComponentRenderer |
This interface defines a renderer for a component, an external class that does the sizing and rendering.
|
WindowDecorationRenderer |
Interface that defines a class that draws window decorations, i.e. a surrounding layer around the window that usually
looks like a border to make it easier for a user to visually separate the windows.
|
WindowPostRenderer |
Classes implementing this interface can be used along with DefaultWindowManagerTextGUI to put some extra processing
after a window has been rendered.
|
Class | Description |
---|---|
AbstractBasePane |
This abstract implementation of
BasePane has the common code shared by all different concrete
implementations. |
AbstractBasePane.ContentHolder | |
AbstractComponent |
AbstractComponent provides some good default behaviour for a
Component , all components in Lanterna extends
from this class in some way. |
AbstractComposite |
This abstract implementation contains common code for the different
Composite implementations. |
AbstractInteractableComponent |
Default implementation of Interactable that extends from AbstractComponent.
|
AbstractListBox |
Base class for several list box implementations, this will handle things like list of items and the scrollbar.
|
AbstractListBox.ListItemRenderer |
The default list item renderer class, this can be extended and customized it needed.
|
AbstractTextGUI |
This abstract implementation of TextGUI contains some basic management of the underlying Screen and other common code
that can be shared between different implementations.
|
AbstractTextGUIThread |
Abstract implementation of
TextGUIThread with common logic for both available concrete implementations. |
AbstractWindow |
Abstract Window has most of the code requiring for a window to function, all concrete window implementations extends
from this in one way or another.
|
ActionListBox |
This class is a list box implementation that displays a number of items that has actions associated with them.
|
AnimatedLabel |
This is a special label that contains not just a single text to display but a number of frames that are cycled
through.
|
AsynchronousTextGUIThread |
Extended interface of TextGUIThread for implementations that uses a separate thread for all GUI event processing and
updating.
|
AsynchronousTextGUIThread.State |
Enum representing the states of the GUI thread life-cycle
|
BasePane |
BasePane is the base container in a Text GUI.
|
BasePaneListener | |
Border |
Main interface for different border classes, with additional methods to help lanterna figure out the size and offset
of components wrapped by borders.
|
Border.BorderRenderer | |
BorderLayout.Location |
This type is what you use as the layout data for components added to a panel using
BorderLayout for its
layout manager. |
Button |
Simple labeled button that the user can trigger by pressing the Enter or the Spacebar key on the keyboard when the
component is in focus.
|
Button.ButtonRenderer |
Helper interface that doesn't add any new methods but makes coding new button renderers a little bit more clear
|
Button.Listener |
Listener interface that can be used to catch user events on the button
|
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.
|
CheckBox.CheckBoxRenderer |
Helper interface that doesn't add any new methods but makes coding new check box renderers a little bit more clear
|
CheckBox.Listener |
Listener interface that can be used to catch user events on the check box
|
CheckBoxList |
This is a list box implementation where each item has its own checked state that can be toggled on and off
|
CheckBoxList.Listener |
Listener interface that can be attached to the
CheckBoxList in order to be notified on user actions |
ComboBox |
This is a simple combo box implementation that allows the user to select one out of multiple items through a
drop-down menu.
|
ComboBox.ComboBoxRenderer |
Helper interface that doesn't add any new methods but makes coding new combo box renderers a little bit more clear
|
ComboBox.Listener |
Listener interface that can be used to catch user events on the combo box
|
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. |
ComponentRenderer |
This interface defines a renderer for a component, an external class that does the sizing and rendering.
|
Composite |
A Composite is a Container that contains only one (or zero) component.
|
Container |
Container is a component that contains a collection of child components.
|
Direction |
Enum for distinguishing between horizontal and vertical directions.
|
EmptySpace |
Simple component which draws a solid color over its area.
|
GridLayout |
This emulates the behaviour of the GridLayout in SWT (as opposed to the one in AWT/Swing).
|
GridLayout.Alignment |
The enum is used to specify where in a grid cell a component should be placed, in the case that the preferred
size of the component is smaller than the space in the cell.
|
InputFilter |
This interface can be used to programmatically intercept input from the user and decide if the input should be passed
on to the interactable.
|
Interactable |
This interface marks a component as able to receive keyboard input from the user.
|
Interactable.FocusChangeDirection |
When focus has changed, which direction.
|
Interactable.Result |
Enum to represent the various results coming out of the handleKeyStroke method
|
InteractableLookupMap |
This class is used to keep a 'map' of the usable area and note where all the interact:ables are.
|
InteractableRenderer |
Extended interface for component renderers used with interactable components.
|
Label |
Label is a simple read-only text display component.
|
LayoutData |
Empty interface to use for values that can be used as a layout meta-data on components.
|
LayoutManager |
A layout manager is a class that takes an area of usable space and a list of components to fit on that space.
|
LinearLayout |
Simple layout manager the puts all components on a single line, either horizontally or vertically.
|
LinearLayout.Alignment |
This enum type will decide the alignment of a component on the counter-axis, meaning the horizontal alignment on
vertical
LinearLayout s and vertical alignment on horizontal LinearLayout s. |
LocalizedString |
Set of predefined localized string.
All this strings are localized by using LocalizedUIBundle .Changing the locale by calling Locale.setDefault(Locale) . |
MultiWindowTextGUI |
This is the main Text GUI implementation built into Lanterna, supporting multiple tiled windows and a dynamic
background area that can be fully customized.
|
Panel |
This class is the basic building block for creating user interfaces, being the standard implementation of
Container that supports multiple children. |
ProgressBar |
This GUI element gives a visual indication of how far a process of some sort has progressed at any given time.
|
RadioBoxList |
The list box will display a number of items, of which one and only one can be marked as selected.
|
RadioBoxList.Listener |
Listener interface that can be attached to the
RadioBoxList in order to be notified on user actions |
ScrollBar |
Classic scrollbar that can be used to display where inside a larger component a view is showing.
|
ScrollBar.ScrollBarRenderer |
Helper class for making new
ScrollBar renderers a little bit cleaner |
Separator |
Static non-interactive component that is typically rendered as a single line.
|
Separator.DefaultSeparatorRenderer |
This is the default separator renderer that is used if you don't override anything.
|
Separator.SeparatorRenderer |
Helper interface that doesn't add any new methods but makes coding new button renderers a little bit more clear
|
TextBox |
This component keeps a text content that is editable by the user.
|
TextBox.Style |
Enum value to force a
TextBox to be either single line or multi line. |
TextBox.TextBoxRenderer |
Helper interface that doesn't add any new methods but makes coding new text box renderers a little bit more clear
|
TextBox.TextChangeListener |
Listener interface for when the
TextBox content has changed. |
TextGUI |
This is the base interface for advanced text GUIs supported in Lanterna.
|
TextGUI.Listener |
Listener interface for TextGUI, firing on events related to the overall GUI
|
TextGUIElement |
This interface is the base part in the Lanterna Text GUI component hierarchy
|
TextGUIGraphics |
TextGraphics implementation used by TextGUI when doing any drawing operation.
|
TextGUIThread |
Class that represents the thread this is expected to run the event/input/update loop for the
TextGUI . |
TextGUIThread.ExceptionHandler |
This interface defines an exception handler, that is used for looking at exceptions that occurs during the main
event loop of the TextGUIThread.
|
TextGUIThreadFactory |
Factory class for creating
TextGUIThread objects. |
Window |
Window is a base unit in the TextGUI system, it represents a collection of components grouped together, usually
surrounded by a border and a title.
|
Window.Hint |
Window hints are meta-data stored along with the window that can be used to give the GUI system some ideas of how
this window wants to be treated.
|
WindowBasedTextGUI |
Extension of the TextGUI interface, this is intended as the base interface for any TextGUI that intends to make use
of the Window class.
|
WindowDecorationRenderer |
Interface that defines a class that draws window decorations, i.e. a surrounding layer around the window that usually
looks like a border to make it easier for a user to visually separate the windows.
|
WindowListener |
Extended
BasePaneListener for Window that exposes additional events that are specific to windows |
WindowManager |
Window manager is a class that is plugged in to a
WindowBasedTextGUI to manage the position and placement
of windows. |
WindowPostRenderer |
Classes implementing this interface can be used along with DefaultWindowManagerTextGUI to put some extra processing
after a window has been rendered.
|
Class | Description |
---|---|
AbstractBasePane |
This abstract implementation of
BasePane has the common code shared by all different concrete
implementations. |
AbstractWindow |
Abstract Window has most of the code requiring for a window to function, all concrete window implementations extends
from this in one way or another.
|
BasePane |
BasePane is the base container in a Text GUI.
|
Composite |
A Composite is a Container that contains only one (or zero) component.
|
Window |
Window is a base unit in the TextGUI system, it represents a collection of components grouped together, usually
surrounded by a border and a title.
|
Window.Hint |
Window hints are meta-data stored along with the window that can be used to give the GUI system some ideas of how
this window wants to be treated.
|
WindowBasedTextGUI |
Extension of the TextGUI interface, this is intended as the base interface for any TextGUI that intends to make use
of the Window class.
|
Class | Description |
---|---|
AbstractComponent |
AbstractComponent provides some good default behaviour for a
Component , all components in Lanterna extends
from this class in some way. |
AbstractInteractableComponent |
Default implementation of Interactable that extends from AbstractComponent.
|
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. |
ComponentRenderer |
This interface defines a renderer for a component, an external class that does the sizing and rendering.
|
Interactable |
This interface marks a component as able to receive keyboard input from the user.
|
Interactable.Result |
Enum to represent the various results coming out of the handleKeyStroke method
|
InteractableRenderer |
Extended interface for component renderers used with interactable components.
|
TextGUIElement |
This interface is the base part in the Lanterna Text GUI component hierarchy
|
TextGUIGraphics |
TextGraphics implementation used by TextGUI when doing any drawing operation.
|
Copyright © 2020. All rights reserved.