public final class TouchUpEvent extends Object implements IInputEvent, AutoCloseable
IInputEvent
that represents a pointer being released from a touch surface.
This class contains the location of the touch point and its identifier.
Constructor and Description |
---|
TouchUpEvent(Coordinate location,
long id)
Creates an event representing a pointer being released from a touch surface.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
long |
getId() |
Coordinate |
getLocation() |
public TouchUpEvent(@NotNull Coordinate location, long id)
location
- The pointer location, defined in device independent pixels.id
- The touch device IDpublic void close()
close
in interface AutoCloseable
@NotNull public Coordinate getLocation()
public long getId()