Uses of Interface
com.googlecode.lanterna.gui2.Interactable
Packages that use Interactable
Package
Description
-
Uses of Interactable in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 with type parameters of type InteractableModifier and TypeInterfaceDescriptioninterface
InteractableRenderer<T extends Component & Interactable>
Extended interface for component renderers used with interactable components.Classes in com.googlecode.lanterna.gui2 that implement InteractableModifier and TypeClassDescriptionclass
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
This class is a list box implementation that displays a number of items that has actions associated with them.class
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
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
class
RadioBoxList<V>
The list box will display a number of items, of which one and only one can be marked as selected.class
This component keeps a text content that is editable by the user.Fields in com.googlecode.lanterna.gui2 declared as InteractableModifier and TypeFieldDescriptionprivate Interactable
AbstractBasePane.focusedInteractable
private Interactable
AbstractBasePane.mouseDownForDrag
Fields in com.googlecode.lanterna.gui2 with type parameters of type InteractableModifier and TypeFieldDescriptionprivate final List
<Interactable> InteractableLookupMap.interactables
Methods in com.googlecode.lanterna.gui2 that return InteractableModifier and TypeMethodDescriptionInteractableLookupMap.findNextDown
(Interactable interactable) Starting from a particularInteractable
and going down, which is the next 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) InteractableLookupMap.findNextRight
(Interactable interactable) Starting from a particularInteractable
and going right, which is the next 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) AbstractBasePane.getFocusedInteractable()
BasePane.getFocusedInteractable()
Returns the component in the root container that currently has input focus.MultiWindowTextGUI.getFocusedInteractable()
TextGUI.getFocusedInteractable()
Returns the interactable component currently in focusWindow.getFocusedInteractable()
Returns the component in the window that currently has input focus.InteractableLookupMap.getInteractableAt
(TerminalPosition position) Looks up what interactable component is as a particular location in the mapAbstractComposite.nextFocus
(Interactable fromThis) Container.nextFocus
(Interactable fromThis) Given an interactable, find the next one in line to receive focus.Panel.nextFocus
(Interactable fromThis) AbstractComposite.previousFocus
(Interactable fromThis) Container.previousFocus
(Interactable fromThis) Given an interactable, find the previous one in line to receive focus.Panel.previousFocus
(Interactable fromThis) Interactable.setEnabled
(boolean enabled) Prevents the component from receiving input focus if this is called with afalse
value.Interactable.setInputFilter
(InputFilter inputFilter) Assigns an input filter to the interactable component.Interactable.takeFocus()
Moves focus in theBasePane
to this component.Methods in com.googlecode.lanterna.gui2 that return types with arguments of type InteractableModifier and TypeMethodDescriptionprivate Set
<Interactable> InteractableLookupMap.getDisqualifiedInteractables
(TerminalPosition startPosition, boolean scanHorizontally) Methods in com.googlecode.lanterna.gui2 with parameters of type InteractableModifier and TypeMethodDescriptionvoid
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) InteractableLookupMap.findNextDown
(Interactable interactable) Starting from a particularInteractable
and going down, which is the next 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) InteractableLookupMap.findNextRight
(Interactable interactable) Starting from a particularInteractable
and going right, which is the next 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) AbstractComposite.nextFocus
(Interactable fromThis) Container.nextFocus
(Interactable fromThis) Given an interactable, find the next one in line to receive focus.Panel.nextFocus
(Interactable fromThis) final 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 notfinal void
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 componentAbstractComposite.previousFocus
(Interactable fromThis) Container.previousFocus
(Interactable fromThis) Given an interactable, find the previous one in line to receive focus.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.table
Classes in com.googlecode.lanterna.gui2.table that implement InteractableModifier and TypeClassDescriptionclass
Table<V>
The table class is an interactable component that displays a grid of cells containing data along with a header of labels.