public final class TouchLongPressEvent extends Object implements IInputEvent, AutoCloseable
IInputEvent
representing a long press touch event.
This class contains the location of the touch input and the status of the event.
Constructor and Description |
---|
TouchLongPressEvent(Coordinate location,
EventStatus status)
Creates a long press event.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
Coordinate |
getLocation() |
EventStatus |
getStatus() |
public TouchLongPressEvent(@NotNull Coordinate location, @NotNull EventStatus status)
location
- the long press location, defined in device independent pixelsstatus
- the status of the event.public void close()
close
in interface AutoCloseable
@NotNull public Coordinate getLocation()
@NotNull public EventStatus getStatus()