public class TouchPanel extends com.google.gwt.user.client.ui.FlowPanel implements HasTouchHandlers, HasTapHandlers, HasPinchHandlers, HasSwipeHandlers, HasLongTapHandlers
TouchEvent
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
protected GestureUtility |
gestureUtility |
Constructor and Description |
---|
TouchPanel()
Construct a touch panel
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addLongTapHandler(LongTapHandler handler)
Register for a
LongTapEvent |
com.google.gwt.event.shared.HandlerRegistration |
addPinchHandler(PinchHandler handler)
register for
PinchEvent s |
com.google.gwt.event.shared.HandlerRegistration |
addSwipeEndHandler(SwipeEndHandler handler)
register for a
SwipeEndHandler |
com.google.gwt.event.shared.HandlerRegistration |
addSwipeMoveHandler(SwipeMoveHandler handler)
register for a
SwipeMoveHandler |
com.google.gwt.event.shared.HandlerRegistration |
addSwipeStartHandler(SwipeStartHandler handler)
register for a
SwipeStartEvent |
com.google.gwt.event.shared.HandlerRegistration |
addTapHandler(TapHandler handler)
Adds a
TapHandler handler. |
com.google.gwt.event.shared.HandlerRegistration |
addTouchCancelHandler(TouchCancelHandler handler)
addTouchCancelHandler
|
com.google.gwt.event.shared.HandlerRegistration |
addTouchEndHandler(TouchEndHandler handler)
addTouchEndHandler
|
com.google.gwt.event.shared.HandlerRegistration |
addTouchHandler(TouchHandler handler)
addTouchHandler
|
com.google.gwt.event.shared.HandlerRegistration |
addTouchMoveHandler(TouchMoveHandler handler)
addTouchMoveHandler
|
com.google.gwt.event.shared.HandlerRegistration |
addTouchStartHandler(TouchStartHandler handler)
addTouchStartHandler
|
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWidgetIndex
getWidget, getWidgetCount, getWidgetIndex, remove
forEach, spliterator
protected final GestureUtility gestureUtility
public com.google.gwt.event.shared.HandlerRegistration addTouchStartHandler(TouchStartHandler handler)
addTouchStartHandler
addTouchStartHandler
in interface HasTouchHandlers
handler
- a
TouchStartHandler
object.HandlerRegistration
object.public com.google.gwt.event.shared.HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler)
addTouchMoveHandler
addTouchMoveHandler
in interface HasTouchHandlers
handler
- a
TouchMoveHandler
object.HandlerRegistration
object.public com.google.gwt.event.shared.HandlerRegistration addTouchCancelHandler(TouchCancelHandler handler)
addTouchCancelHandler
addTouchCancelHandler
in interface HasTouchHandlers
handler
- a
TouchCancelHandler
object.HandlerRegistration
object.public com.google.gwt.event.shared.HandlerRegistration addTouchEndHandler(TouchEndHandler handler)
addTouchEndHandler
addTouchEndHandler
in interface HasTouchHandlers
handler
- a
TouchEndHandler
object.HandlerRegistration
object.public com.google.gwt.event.shared.HandlerRegistration addTouchHandler(TouchHandler handler)
addTouchHandler
addTouchHandler
in interface HasTouchHandlers
handler
- a
TouchHandler
object.HandlerRegistration
object.public com.google.gwt.event.shared.HandlerRegistration addTapHandler(TapHandler handler)
HasTapHandlers
TapHandler
handler.addTapHandler
in interface HasTapHandlers
handler
- the simple touch handlerHandlerRegistration
used to remove this handlerpublic com.google.gwt.event.shared.HandlerRegistration addSwipeStartHandler(SwipeStartHandler handler)
HasSwipeHandlers
SwipeStartEvent
addSwipeStartHandler
in interface HasSwipeHandlers
handler
- the handler to registerHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration addSwipeMoveHandler(SwipeMoveHandler handler)
HasSwipeHandlers
SwipeMoveHandler
addSwipeMoveHandler
in interface HasSwipeHandlers
handler
- the handler to registerHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration addSwipeEndHandler(SwipeEndHandler handler)
HasSwipeHandlers
SwipeEndHandler
addSwipeEndHandler
in interface HasSwipeHandlers
handler
- the handler to registerHandlerRegistration
public com.google.gwt.event.shared.HandlerRegistration addPinchHandler(PinchHandler handler)
HasPinchHandlers
PinchEvent
saddPinchHandler
in interface HasPinchHandlers
handler
- the handler to registerpublic com.google.gwt.event.shared.HandlerRegistration addLongTapHandler(LongTapHandler handler)
HasLongTapHandlers
LongTapEvent
addLongTapHandler
in interface HasLongTapHandlers
handler
- the handler to registerCopyright © 2016 Magnolia International Ltd.. All rights reserved.