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 TypeInterfaceDescriptioninterfaceInteractableRenderer<T extends Component & Interactable>Extended interface for component renderers used with interactable components.Classes in com.googlecode.lanterna.gui2 that implement InteractableModifier and TypeClassDescriptionclassAbstractInteractableComponent<T extends AbstractInteractableComponent<T>>Default implementation of Interactable that extends from AbstractComponent.classAbstractListBox<V, T extends AbstractListBox<V,T>> Base class for several list box implementations, this will handle things like list of items and the scrollbar.classThis class is a list box implementation that displays a number of items that has actions associated with them.classSimple labeled button that the user can trigger by pressing the Enter or the Spacebar key on the keyboard when the component is in focus.classThe 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.classCheckBoxList<V>This is a list box implementation where each item has its own checked state that can be toggled on and offclassComboBox<V>This is a simple combo box implementation that allows the user to select one out of multiple items through a drop-down menu.classclassRadioBoxList<V>The list box will display a number of items, of which one and only one can be marked as selected.classThis component keeps a text content that is editable by the user.Fields in com.googlecode.lanterna.gui2 declared as InteractableModifier and TypeFieldDescriptionprivate InteractableAbstractBasePane.focusedInteractableprivate InteractableAbstractBasePane.mouseDownForDragFields in com.googlecode.lanterna.gui2 with type parameters of type InteractableModifier and TypeFieldDescriptionprivate final List<Interactable> InteractableLookupMap.interactablesMethods in com.googlecode.lanterna.gui2 that return InteractableModifier and TypeMethodDescriptionInteractableLookupMap.findNextDown(Interactable interactable) Starting from a particularInteractableand going down, which is the next interactable?InteractableLookupMap.findNextLeft(Interactable interactable) Starting from a particularInteractableand going left, which is the next interactable?private InteractableInteractableLookupMap.findNextLeftOrRight(Interactable interactable, boolean isRight) InteractableLookupMap.findNextRight(Interactable interactable) Starting from a particularInteractableand going right, which is the next interactable?InteractableLookupMap.findNextUp(Interactable interactable) Starting from a particularInteractableand going up, which is the next interactable?private InteractableInteractableLookupMap.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 afalsevalue.Interactable.setInputFilter(InputFilter inputFilter) Assigns an input filter to the interactable component.Interactable.takeFocus()Moves focus in theBasePaneto 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 TypeMethodDescriptionvoidInteractableLookupMap.add(Interactable interactable) Adds an interactable component to the lookup mapprotected voidAbstractInteractableComponent.afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus) Called byAbstractInteractableComponentautomatically after this component has received input focus.protected voidAbstractListBox.afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus) protected voidComboBox.afterEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus) protected voidAbstractInteractableComponent.afterLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus) Called byAbstractInteractableComponentautomatically after this component has lost input focus.protected voidComboBox.afterLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus) InteractableLookupMap.findNextDown(Interactable interactable) Starting from a particularInteractableand going down, which is the next interactable?InteractableLookupMap.findNextLeft(Interactable interactable) Starting from a particularInteractableand going left, which is the next interactable?private InteractableInteractableLookupMap.findNextLeftOrRight(Interactable interactable, boolean isRight) InteractableLookupMap.findNextRight(Interactable interactable) Starting from a particularInteractableand going right, which is the next interactable?InteractableLookupMap.findNextUp(Interactable interactable) Starting from a particularInteractableand going up, which is the next interactable?private InteractableInteractableLookupMap.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 voidAbstractInteractableComponent.onEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus) Method called when this component gained keyboard focus.voidInteractable.onEnterFocus(Interactable.FocusChangeDirection direction, Interactable previouslyInFocus) Method called when this component gained keyboard focus.booleanInputFilter.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 voidAbstractInteractableComponent.onLeaveFocus(Interactable.FocusChangeDirection direction, Interactable nextInFocus) Method called when keyboard focus moves away from this componentvoidInteractable.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) voidAbstractBasePane.setFocusedInteractable(Interactable toFocus) protected voidAbstractBasePane.setFocusedInteractable(Interactable toFocus, Interactable.FocusChangeDirection direction) voidBasePane.setFocusedInteractable(Interactable interactable) Sets the component currently in focus within this root container, or sets no component in focus ifnullis passed in.voidWindow.setFocusedInteractable(Interactable interactable) Sets the component currently in focus within this window, or sets no component in focus ifnullis passed in. -
Uses of Interactable in com.googlecode.lanterna.gui2.table
Classes in com.googlecode.lanterna.gui2.table that implement InteractableModifier and TypeClassDescriptionclassTable<V>The table class is an interactable component that displays a grid of cells containing data along with a header of labels.