Package | Description |
---|---|
com.googlecode.lanterna.gui | |
com.googlecode.lanterna.gui.component | |
com.googlecode.lanterna.gui.listener |
Modifier and Type | Method and Description |
---|---|
protected Interactable |
Window.getInputFocusedComponent() |
Interactable |
InteractableContainer.nextFocus(Interactable fromThis)
Given an interactable, find the next one in line to receive focus.
|
Interactable |
InteractableContainer.previousFocus(Interactable fromThis)
Given an interactable, find the previous one in line to receive focus.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InteractableContainer.hasInteractable(Interactable interactable)
Returns true if this container contains the
interactable passed in as the parameter |
Interactable |
InteractableContainer.nextFocus(Interactable fromThis)
Given an interactable, find the next one in line to receive focus.
|
Interactable |
InteractableContainer.previousFocus(Interactable fromThis)
Given an interactable, find the previous one in line to receive focus.
|
protected void |
Window.setFocus(Interactable newFocus) |
protected void |
Window.setFocus(Interactable newFocus,
Interactable.FocusChangeDirection direction) |
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 |
AbstractInteractableComponent |
class |
AbstractListBox
Common base class for list-type components (check box list, action list, etc)
|
class |
ActionListBox |
class |
Button |
class |
CheckBox |
class |
CheckBoxList |
class |
CommonCheckBox |
class |
EditArea
Multi-line text edit component
|
class |
PasswordBox
A TextBox which masks the data entered into it.
|
class |
RadioCheckBoxList
The list box will display a number of items, of which one and only one can be marked as selected.
|
class |
TextArea
This component is designed for displaying large chunks of text.
|
class |
TextBox |
Modifier and Type | Method and Description |
---|---|
Interactable |
Table.nextFocus(Interactable fromThis) |
Interactable |
AbstractContainer.nextFocus(Interactable previous) |
Interactable |
Table.previousFocus(Interactable fromThis) |
Interactable |
AbstractContainer.previousFocus(Interactable fromThis) |
Modifier and Type | Method and Description |
---|---|
boolean |
Table.hasInteractable(Interactable interactable) |
boolean |
AbstractContainer.hasInteractable(Interactable interactable) |
Interactable |
Table.nextFocus(Interactable fromThis) |
Interactable |
AbstractContainer.nextFocus(Interactable previous) |
Interactable |
Table.previousFocus(Interactable fromThis) |
Interactable |
AbstractContainer.previousFocus(Interactable fromThis) |
Modifier and Type | Method and Description |
---|---|
void |
WindowAdapter.onFocusChanged(Window window,
Interactable fromComponent,
Interactable toComponent) |
void |
WindowListener.onFocusChanged(Window window,
Interactable fromComponent,
Interactable toComponent)
Called by the window whenever the input focus has changed from one component to another
|
Copyright © 2014. All Rights Reserved.