Interface AutocompletionListener<T>

Type Parameters:
T - the type of suggestions presented by the autocompleter.

public interface AutocompletionListener<T>
A listener for autocompletion events.
See Also:
  • Method Details

    • completionSelected

      default void completionSelected(AutocompletionEvent<T> ev)
      The user has selected a suggested item.

      This means the user has highlighted an item, but has not activated that item.

      Parameters:
      ev - the event describing the selection
    • completionActivated

      void completionActivated(AutocompletionEvent<T> e)
      The user has activated a suggested item.

      This means the user has explicitly activate the item, i.e., pressed enter on or clicked the item.

      Parameters:
      e - the event describing the activation