Interface GestureClick.OnPressed

Enclosing class:
GestureClick
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 GestureClick.OnPressed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPressed(int n_press, double x, double y)
    Emitted whenever a button or touch press happens.
  • Method Details

    • onPressed

      void onPressed(int n_press, double x, double y)
      Emitted whenever a button or touch press happens.
      Parameters:
      n_press - how many touch/button presses happened with this one
      x - The X coordinate, in widget allocation coordinates
      y - The Y coordinate, in widget allocation coordinates