Schnittstelle AppChooserWidget.OnApplicationActivated

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

@FunctionalInterface public static interface AppChooserWidget.OnApplicationActivated
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted when an application item is activated from the widget's list.
  • Methodendetails

    • onApplicationActivated

      void onApplicationActivated(@Nonnull AppInfo application)
      Emitted when an application item is activated from the widget's list.

      This usually happens when the user double clicks an item, or an item
      is selected and the user presses one of the keys Space, Shift+Space,
      Return or Enter.
      Parameter:
      application - the activated `GAppInfo`