* @param listener the listener to be notified of the event
* @return a handle that may be used to remove this listener
*/
public static EventListenerRemover addGestureMoveListener(final Object source,
JavaScriptObject nativeSource, final GestureChangeListener listener) {
return Event.addEventListener(GestureChangeEvent.NAME, nativeSource, new EventListener() {
public void handleEvent(Event event) {
listener.onGestureChange(new GestureChangeEvent(source, event));
}
});
}