Interface FontChooser.OnFontActivated

Enclosing class:
FontChooser
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FontChooser.OnFontActivated
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFontActivated(Str fontname)
    Emitted when a font is activated.
  • Method Details

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