Class TouchEndEvent


public class TouchEndEvent extends TouchEvent
Represents a native touchend event that occurs when a finger is removed from the touch surface.

This event is fired when one or more touch points are removed from the touch surface. It extends TouchEvent to inherit coordinate and touch identity tracking and is dispatched to registered TouchListener instances for processing.

Since:
2026
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • TouchEndEvent

      public TouchEndEvent(int clientX, int clientY, int identifier, int touchCount)
      Constructs a new TouchEndEvent with the specified touch data.
      Parameters:
      clientX - the X coordinate of the first changed touch relative to the client viewport
      clientY - the Y coordinate of the first changed touch relative to the client viewport
      identifier - the unique identifier of the touch point
      touchCount - the number of remaining active touch points
  • Method Details

    • dispatchTo

      public void dispatchTo(TouchListener listener)
      Dispatches this event to the specified listener for processing.
      Specified by:
      dispatchTo in class Event<TouchListener>
      Parameters:
      listener - the listener to which this event should be dispatched