Package com.luciad.input.touch
Class TouchLongPressEvent
java.lang.Object
com.luciad.input.touch.TouchLongPressEvent
- All Implemented Interfaces:
IInputEvent
,AutoCloseable
Implementation of
IInputEvent
representing a long press touch event.
This class contains the location of the touch input and the status of the event.
-
Constructor Summary
ConstructorDescriptionTouchLongPressEvent
(Coordinate location, EventStatus status) Creates a long press event. -
Method Summary
-
Constructor Details
-
TouchLongPressEvent
Creates a long press event.- Parameters:
location
- the long press location, defined in device independent pixelsstatus
- the status of the event.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getLocation
Returns the position of the event.It is expressed in device independent pixel coordinates with top-left corner of the map being the (0,0) position.
- Returns:
- the position of the event.
-
getStatus
Returns the status of the event.- Returns:
- the status of the event.
-