Package com.luciad.input.touch
Class TouchUpEvent
java.lang.Object
com.luciad.input.touch.TouchUpEvent
- All Implemented Interfaces:
IInputEvent
,AutoCloseable
Implementation of
IInputEvent
that represents a pointer being released from a touch surface.
This class contains the location of the touch point and its identifier.
-
Constructor Summary
ConstructorDescriptionTouchUpEvent
(Coordinate location, long id) Creates an event representing a pointer being released from a touch surface. -
Method Summary
-
Constructor Details
-
TouchUpEvent
Creates an event representing a pointer being released from a touch surface.- Parameters:
location
- The pointer location, defined in device independent pixels.id
- The touch device ID
-
-
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.
-
getId
public long getId()Returns the touch device ID, the finger index for example.- Returns:
- the touch device ID, the finger index for example.
-