Schnittstelle Widget.OnMnemonicActivate

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.OnMnemonicActivate
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onMnemonicActivate(boolean group_cycling)
    Emitted when a widget is activated via a mnemonic.
  • Methodendetails

    • onMnemonicActivate

      boolean onMnemonicActivate(boolean group_cycling)
      Emitted when a widget is activated via a mnemonic.

      The default handler for this signal activates @widget if @group_cycling
      is false, or just makes @widget grab focus if @group_cycling is true.
      Parameter:
      group_cycling - true if there are other widgets with the same mnemonic
      Gibt zurück:
      true to stop other handlers from being invoked for the event, false to propagate the event further