Package | Description |
---|---|
com.googlecode.lanterna.gui | |
com.googlecode.lanterna.gui.component | |
com.googlecode.lanterna.gui.layout | |
com.googlecode.lanterna.gui.listener |
Modifier and Type | Interface and Description |
---|---|
interface |
Container
This interface must be implemented by any component this is to have
subcomponents.
|
Modifier and Type | Method and Description |
---|---|
Component |
Component.addBorder(Border border,
String title)
Surrounds this component with a specified border
|
Component |
Container.getComponentAt(int index) |
Component |
Window.getComponentAt(int index) |
Modifier and Type | Method and Description |
---|---|
void |
Container.addComponent(Component component,
LayoutParameter... layoutParameters)
Adds a new subcomponent to this container.
|
void |
Window.addComponent(Component component,
LayoutParameter... layoutParameters) |
boolean |
Container.containsComponent(Component component)
This method can used to see if a particular component is contained with this objects list of
immediate children.
|
boolean |
Container.removeComponent(Component component)
Removes a component from this container.
|
void |
Window.removeComponent(Component component)
Removes a top-level component from the window
|
Modifier and Type | Interface and Description |
---|---|
interface |
InteractableComponent
This interface doesn't add anything, it's just for making a common interface for Interactables
and Components.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponent |
class |
AbstractContainer |
class |
AbstractInteractableComponent |
class |
AbstractListBox
Common base class for list-type components (check box list, action list, etc)
|
class |
ActionListBox |
class |
ActivityIndicator
For indicating that the program is working on something and not frozen.
|
class |
Button |
class |
CheckBox |
class |
CheckBoxList |
class |
CommonCheckBox |
class |
EditArea
Multi-line text edit component
|
class |
EmptySpace |
class |
Label |
class |
Panel |
class |
PasswordBox
A TextBox which masks the data entered into it.
|
class |
ProgressBar |
class |
RadioCheckBoxList
The list box will display a number of items, of which one and only one can be marked as selected.
|
class |
Separator |
class |
SpinningActivityIndicator
Indicates activity by cycling through a set of characters.
|
class |
Table |
class |
TextArea
This component is designed for displaying large chunks of text.
|
class |
TextBox |
Modifier and Type | Method and Description |
---|---|
Component |
AbstractComponent.addBorder(Border border,
String title) |
Component |
AbstractContainer.getComponentAt(int index) |
Component[] |
Table.getRow(int index) |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Component> |
AbstractContainer.components() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContainer.addComponent(Component component,
LayoutParameter... layoutParameters) |
void |
Panel.addComponent(Component component,
LayoutParameter... layoutParameters) |
void |
Table.addRow(Component... components)
Adds a new row to this table, using the given components as its cells.
|
boolean |
AbstractContainer.containsComponent(Component component) |
boolean |
AbstractContainer.removeComponent(Component component) |
boolean |
Panel.removeComponent(Component component) |
Modifier and Type | Field and Description |
---|---|
Component |
LinearLayout.LinearLayoutComponent.component |
Modifier and Type | Method and Description |
---|---|
Component |
LayoutManager.LaidOutComponent.getComponent() |
Component |
DefaultLaidOutComponent.getComponent() |
Modifier and Type | Method and Description |
---|---|
void |
BorderLayout.addComponent(Component component,
LayoutParameter... parameters) |
void |
LayoutManager.addComponent(Component component,
LayoutParameter... parameters)
Adds a component to the layout manager
|
void |
LinearLayout.addComponent(Component component,
LayoutParameter... layoutParameters) |
void |
BorderLayout.removeComponent(Component component) |
void |
LayoutManager.removeComponent(Component component)
Removes a component from the layout
|
void |
LinearLayout.removeComponent(Component component) |
Constructor and Description |
---|
DefaultLaidOutComponent(Component component,
TerminalSize size,
TerminalPosition topLeftPosition) |
LinearLayout.LinearLayoutComponent(Component component,
Set<LayoutParameter> layoutParameters) |
Modifier and Type | Method and Description |
---|---|
void |
ContainerAdapter.onComponentAdded(Container container,
Component component) |
void |
ContainerListener.onComponentAdded(Container container,
Component component) |
void |
ComponentListener.onComponentInvalidated(Component component)
Will be called when a component is signaling it's content has been invalidated and needs to
be repainted by the GUI system.
|
void |
ComponentAdapter.onComponentInvalidated(Component component) |
void |
ContainerAdapter.onComponentRemoved(Container container,
Component component) |
void |
ContainerListener.onComponentRemoved(Container container,
Component component) |
Copyright © 2015. All Rights Reserved.