Schnittstelle EventControllerMotion.OnMotion

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

@FunctionalInterface public static interface EventControllerMotion.OnMotion
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onMotion(double x, double y)
    Emitted when the pointer moves inside the widget.
  • Methodendetails

    • onMotion

      void onMotion(double x, double y)
      Emitted when the pointer moves inside the widget.
      Parameter:
      x - the x coordinate
      y - the y coordinate