Uses of Interface
com.googlecode.lanterna.gui2.Interactable
-
Packages that use Interactable Package Description com.googlecode.lanterna.gui2 com.googlecode.lanterna.gui2.menu com.googlecode.lanterna.gui2.table -
-
Uses of Interactable in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 with type parameters of type Interactable Modifier and Type Interface Description interface
InteractableRenderer<T extends Component & Interactable>
Extended interface for component renderers used with interactable components.Classes in com.googlecode.lanterna.gui2 that implement Interactable Modifier and Type Class Description 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
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.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 offclass
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
ImageComponent
class
RadioBoxList<V>
The list box will display a number of items, of which one and only one can be marked as selected.class
TextBox
This component keeps a text content that is editable by the user.Fields in com.googlecode.lanterna.gui2 declared as Interactable Modifier and Type Field Description private Interactable
AbstractBasePane. focusedInteractable
private Interactable
AbstractBasePane. mouseDownForDrag
Fields in com.googlecode.lanterna.gui2 with type parameters of type Interactable Modifier and Type Field Description private java.util.List<Interactable>
InteractableLookupMap. interactables
Methods in com.googlecode.lanterna.gui2 that return Interactable Modifier and Type Method Description Interactable
InteractableLookupMap. findNextDown(Interactable interactable)
Starting from a particularInteractable
and going down, which is the next interactable?Interactable
InteractableLookupMap. findNextLeft(Interactable interactable)
Starting from a particularInteractable
and going left, which is the next interactable?private Interactable
InteractableLookupMap. findNextLeftOrRight(Interactable interactable, boolean isRight)
Interactable
InteractableLookupMap. findNextRight(Interactable interactable)
Starting from a particularInteractable
and going right, which is the next interactable?Interactable
InteractableLookupMap. findNextUp(Interactable interactable)
Starting from a particularInteractable
and going up, which is the next interactable?private Interactable
InteractableLookupMap. findNextUpOrDown(Interactable interactable, boolean isDown)
Interactable
AbstractBasePane. getFocusedInteractable()
Interactable
BasePane. getFocusedInteractable()
Returns the component in the root container that currently has input focus.Interactable
MultiWindowTextGUI. getFocusedInteractable()
Interactable
TextGUI. getFocusedInteractable()
Returns the interactable component currently in focusInteractable
Window. getFocusedInteractable()
Returns the component in the window that currently has input focus.Interactable
InteractableLookupMap. getInteractableAt(TerminalPosition position)
Looks up what interactable component is as a particular location in the mapInteractable
AbstractComposite. nextFocus(Interactable fromThis)
Interactable
Container. nextFocus(Interactable fromThis)
Given an interactable, find the next one in line to receive focus.Interactable
Panel. nextFocus(Interactable fromThis)
Interactable
AbstractComposite. previousFocus(Interactable fromThis)
Interactable
Container. previousFocus(Interactable fromThis)
Given an interactable, find the previous one in line to receive focus.Interactable
Panel. previousFocus(Interactable fromThis)
Interactable
Interactable. setEnabled(boolean enabled)
Prevents the component from receiving input focus if this is called with afalse
value.Interactable
Interactable. setInputFilter(InputFilter inputFilter)
Assigns an input filter to the interactable component.Interactable
Interactable. takeFocus()
Moves focus in theBasePane
to this component.Methods in com.googlecode.lanterna.gui2 that return types with arguments of type Interactable Modifier and Type Method Description private java.util.Set<Interactable>
InteractableLookupMap. getDisqualifiedInteractables(TerminalPosition startPosition, boolean scanHorizontally)
Methods in com.googlecode.lanterna.gui2 with parameters of type Interactable Modifier and Type Method Description void
InteractableLookupMap. add(Interactable interactable)
Adds an interactable component to the lookup mapprotected void
AbstractInteractableComponent. afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus)
Called byAbstractInteractableComponent
automatically after this component has received input focus.protected void
AbstractListBox. afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus)
protected void
ComboBox. afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus)
protected void
AbstractInteractableComponent. afterLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus)
Called byAbstractInteractableComponent
automatically after this component has lost input focus.protected void
ComboBox. afterLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus)
Interactable
InteractableLookupMap. findNextDown(Interactable interactable)
Starting from a particularInteractable
and going down, which is the next interactable?Interactable
InteractableLookupMap. findNextLeft(Interactable interactable)
Starting from a particularInteractable
and going left, which is the next interactable?private Interactable
InteractableLookupMap. findNextLeftOrRight(Interactable interactable, boolean isRight)
Interactable
InteractableLookupMap. findNextRight(Interactable interactable)
Starting from a particularInteractable
and going right, which is the next interactable?Interactable
InteractableLookupMap. findNextUp(Interactable interactable)
Starting from a particularInteractable
and going up, which is the next interactable?private Interactable
InteractableLookupMap. findNextUpOrDown(Interactable interactable, boolean isDown)
Interactable
AbstractComposite. nextFocus(Interactable fromThis)
Interactable
Container. nextFocus(Interactable fromThis)
Given an interactable, find the next one in line to receive focus.Interactable
Panel. nextFocus(Interactable fromThis)
void
AbstractInteractableComponent. onEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus)
Method called when this component gained keyboard focus.void
Interactable. onEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus)
Method called when this component gained keyboard focus.boolean
InputFilter. onInput(Interactable interactable, KeyStroke keyStroke)
Called when the component is about to receive input from the user and decides if the input should be passed on to the component or notvoid
AbstractInteractableComponent. onLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus)
Method called when keyboard focus moves away from this componentvoid
Interactable. onLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus)
Method called when keyboard focus moves away from this componentInteractable
AbstractComposite. previousFocus(Interactable fromThis)
Interactable
Container. previousFocus(Interactable fromThis)
Given an interactable, find the previous one in line to receive focus.Interactable
Panel. previousFocus(Interactable fromThis)
void
AbstractBasePane. setFocusedInteractable(Interactable toFocus)
protected void
AbstractBasePane. setFocusedInteractable(Interactable toFocus, Interactable.FocusChangeDirection direction)
void
BasePane. setFocusedInteractable(Interactable interactable)
Sets the component currently in focus within this root container, or sets no component in focus ifnull
is passed in.void
Window. setFocusedInteractable(Interactable interactable)
Sets the component currently in focus within this window, or sets no component in focus ifnull
is passed in. -
Uses of Interactable in com.googlecode.lanterna.gui2.menu
Classes in com.googlecode.lanterna.gui2.menu that implement Interactable Modifier and Type Class Description class
Menu
class
MenuItem
This class is a single item that appears in aMenu
with an optional action attached to itMethods in com.googlecode.lanterna.gui2.menu that return Interactable Modifier and Type Method Description Interactable
MenuBar. nextFocus(Interactable fromThis)
Interactable
MenuBar. previousFocus(Interactable fromThis)
Methods in com.googlecode.lanterna.gui2.menu with parameters of type Interactable Modifier and Type Method Description Interactable
MenuBar. nextFocus(Interactable fromThis)
Interactable
MenuBar. previousFocus(Interactable fromThis)
-
Uses of Interactable in com.googlecode.lanterna.gui2.table
Classes in com.googlecode.lanterna.gui2.table that implement Interactable Modifier and Type Class 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.
-