public class DoubleTapGestureRecognizer extends TapGestureRecognizer
Modifier and Type | Class and Description |
---|---|
static class |
DoubleTapGestureRecognizer.DoubleTapGestureEvent |
TapGestureRecognizer.CellTapGestureRecognizer<T>, TapGestureRecognizer.TapCancelEvent, TapGestureRecognizer.TapGestureEvent, TapGestureRecognizer.TapGestureStartEvent
AbstractGestureRecognizer.ExtraTouchBehavior
pointerEventsSupport
Constructor and Description |
---|
DoubleTapGestureRecognizer() |
DoubleTapGestureRecognizer(int intervalThreshold,
int positionDifferenceThreshold) |
Modifier and Type | Method and Description |
---|---|
void |
onDoubleTap(TouchData touchData) |
protected void |
onEnd(List<TouchData> touches)
Indicates that one or more touches have ended.
|
protected boolean |
onStart(TouchData startedTouch)
Indicates that a touch has started, giving the gesture the chance to exclusively handle this touch as it moves.
|
handlePreventDefault, onCancel, onMove, onTap
cancel, fireEvent, getTouches, handle, handleCancel, handleEnd, handleMove, handleStart, setCaptured, setDelegate, setInterest, start
public DoubleTapGestureRecognizer()
public DoubleTapGestureRecognizer(int intervalThreshold, int positionDifferenceThreshold)
public void onDoubleTap(TouchData touchData)
protected boolean onStart(TouchData startedTouch)
AbstractGestureRecognizer
onStart
in class TapGestureRecognizer
startedTouch
- the touch that has begunprotected void onEnd(List<TouchData> touches)
AbstractGestureRecognizer
onEnd
in class TapGestureRecognizer
touches
- data for the now-ended touches (as opposed to #getTouches which no longer has those entries)Copyright © 2018. All rights reserved.