Touch event indicates a touch screen action. It contains detailed information about each particular touch point.
Touch point represents a single touched finger and has its location,
state (pressed/moved/released/stationary) and an ID unique in scope of a
single gesture. For detailed reference see TouchPoint
.
For each multi-touch action a set of touch events is generated - for each
touch point one. The event has type corresponds to its touch point's state.
Each of the events also contain
list of all the touch points. This design allows for handling complicated
multi-touch actions from one place while keeping it possible to
filter/consume each touch point separately. To recognize
which events belong into a single set there is getEventSetId()
method.
Each touch point is - similarly to mouse dragging - delivered to a single
node on which it was pressed, regardless of where it moves then. It is
possible to change this behavior by using a grabbing mechanism described
in TouchPoint
documentation.
extends