public class MagnoliaPinchRecognizer extends Object implements TouchHandler
Constructor and Description |
---|
MagnoliaPinchRecognizer(com.google.gwt.event.shared.HasHandlers source,
OffsetProvider offsetProvider) |
Modifier and Type | Method and Description |
---|---|
protected EventPropagator |
getEventPropagator() |
void |
onTouchCanceled(TouchCancelEvent event)
Called when a touch cancel event is fired.
|
void |
onTouchEnd(TouchEndEvent event)
Called when a touch end event is fired.
|
void |
onTouchMove(TouchMoveEvent event)
Called when a touch end move is fired.
|
void |
onTouchStart(TouchStartEvent event)
onTouchStart
|
protected void |
setEventPropagator(EventPropagator eventPropagator) |
public MagnoliaPinchRecognizer(com.google.gwt.event.shared.HasHandlers source, OffsetProvider offsetProvider)
public void onTouchStart(TouchStartEvent event)
TouchStartHandler
onTouchStart
onTouchStart
in interface TouchStartHandler
event
- a TouchStartEvent
object.public void onTouchMove(TouchMoveEvent event)
TouchMoveHandler
onTouchMove
in interface TouchMoveHandler
event
- the TouchMoveEvent
that was firedpublic void onTouchEnd(TouchEndEvent event)
TouchEndHandler
onTouchEnd
in interface TouchEndHandler
event
- the TouchEndEvent
that was firedpublic void onTouchCanceled(TouchCancelEvent event)
TouchCancelHandler
onTouchCanceled
in interface TouchCancelHandler
event
- the TouchCancelEvent
that was firedprotected EventPropagator getEventPropagator()
protected void setEventPropagator(EventPropagator eventPropagator)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.