public class SwipeEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SwipeEvent.Type
Swipe direction.
|
| Constructor and Description |
|---|
SwipeEvent(com.google.gwt.user.client.Event nativeEvent,
SwipeEvent.Type type,
double speed)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(SwipeEventsHandler handler)
Will dispatch this event.
|
com.google.gwt.user.client.Event |
getNativeEvent() |
double |
getSpeed() |
boolean |
getStopPropagation() |
void |
stopPropagation()
Will stop the event propagation.
|
public SwipeEvent(com.google.gwt.user.client.Event nativeEvent,
SwipeEvent.Type type,
double speed)
nativeEvent - .type - .speed - .public void stopPropagation()
public boolean getStopPropagation()
public double getSpeed()
public com.google.gwt.user.client.Event getNativeEvent()
public void dispatch(SwipeEventsHandler handler)
handler - the event handler.Copyright © 2011–2015 SWM. All rights reserved.