public class FastClickHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FastClickHelper.FastClickEvent |
static interface |
FastClickHelper.FastClickHandler |
| Constructor and Description |
|---|
FastClickHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends com.google.gwt.event.dom.client.HasTouchStartHandlers & com.google.gwt.event.dom.client.HasClickHandlers> |
addClickHandler(T toWidget,
FastClickHelper.FastClickHandler handlerToAdd)
Will add a click or touch hander (on mobile systems) to the application.
|
static FastClickHelper.FastClickHandler |
wrapAsFastClickHandler(com.google.gwt.event.dom.client.ClickHandler handlerToWrap)
Wraps a fast click Handler to a click Hanlder
|
public static <T extends com.google.gwt.event.dom.client.HasTouchStartHandlers & com.google.gwt.event.dom.client.HasClickHandlers> void addClickHandler(T toWidget,
FastClickHelper.FastClickHandler handlerToAdd)
toWidget - the widget to addhandlerToAdd - the fast click handler to addpublic static FastClickHelper.FastClickHandler wrapAsFastClickHandler(com.google.gwt.event.dom.client.ClickHandler handlerToWrap)
handlerToWrap - the ahndler to wrapCopyright © 2011–2015 SWM. All rights reserved.