Schnittstelle FontChooser.OnFontActivated

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

@FunctionalInterface public static interface FontChooser.OnFontActivated
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onFontActivated(Str fontname)
    Emitted when a font is activated.
  • Methodendetails

    • onFontActivated

      void onFontActivated(@Nonnull Str fontname)
      Emitted when a font is activated.

      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:
      fontname - the font name