Schnittstelle ColorChooser.OnColorActivated

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

@FunctionalInterface public static interface ColorChooser.OnColorActivated
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted when a color is activated from the color chooser.
  • Methodendetails

    • onColorActivated

      void onColorActivated(@Nonnull RGBA color)
      Emitted when a color is activated from the color chooser.

      This usually happens when the user clicks a color swatch,
      or a color is selected and the user presses one of the keys
      Space, Shift+Space, Return or Enter.
      Parameter:
      color - the color