Schnittstelle Widget.OnMoveFocus

Umschließende Klasse:
Widget
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Widget.OnMoveFocus
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onMoveFocus(int direction)
    Emitted when the focus is moved.
  • Methodendetails

    • onMoveFocus

      void onMoveFocus(int direction)
      Emitted when the focus is moved.

      The `::move-focus` signal is a [keybinding signal](class.SignalAction.html).

      The default bindings for this signal are <kbd>Tab</kbd> to move forward,
      and <kbd>Shift</kbd>+<kbd>Tab</kbd> to move backward.
      Parameter:
      direction - the direction of the focus move