HasAllTouchHandlers abstract class
This is a convenience interface that includes all touch handlers defined by the core GWT system. <p> WARNING, PLEASE READ: As this interface is intended for developers who wish to handle all touch events in GWT, new touch event handlers will be added to it. Therefore, updates can cause breaking API changes. </p>
abstract class HasAllTouchHandlers implements HasTouchStartHandlers, HasTouchMoveHandlers, HasTouchEndHandlers, HasTouchCancelHandlers { }
Subclasses
FocusPanel, FocusWidget, Image, Label
Implements
HasTouchCancelHandlers, HasTouchEndHandlers, HasTouchMoveHandlers, HasTouchStartHandlers
Methods
abstract HandlerRegistration addTouchCancelHandler(TouchCancelHandler handler) #
Adds a {@link TouchCancelEvent} handler.
@param handler the touch cancel handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addTouchEndHandler(TouchEndHandler handler) #
Adds a {@link TouchEndEvent} handler.
@param handler the touch end handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addTouchMoveHandler(TouchMoveHandler handler) #
Adds a {@link TouchMoveEvent} handler.
@param handler the touch move handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addTouchStartHandler(TouchStartHandler handler) #
Adds a {@link TouchStartEvent} handler.
@param handler the touch start handler @return {@link HandlerRegistration} used to remove this handler
abstract void fireEvent(DwtEvent event) #
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.
@param event the event