Interface GestureClick.OnUnpairedRelease

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.OnUnpairedRelease
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onUnpairedRelease(double x, double y, int button, EventSequence sequence)
    Emitted whenever the gesture receives a release
    event that had no previous corresponding press.
  • Method Details

    • onUnpairedRelease

      void onUnpairedRelease(double x, double y, int button, @Nullable EventSequence sequence)
      Emitted whenever the gesture receives a release
      event that had no previous corresponding press.

      Due to implicit grabs, this can only happen on situations
      where input is grabbed elsewhere mid-press or the pressed
      widget voluntarily relinquishes its implicit grab.
      Parameters:
      x - X coordinate of the event
      y - Y coordinate of the event
      button - Button being released
      sequence - Sequence being released