|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<LongTapHandler>
org.jboss.errai.ui.cordova.events.touch.longtap.LongTapEvent
public class LongTapEvent
A long tap event is produced if the user touches an area of the display for a given time without moving his finger(s)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
com.google.gwt.event.shared.GwtEvent.Type<H> |
Constructor Summary | |
---|---|
LongTapEvent(Object source,
int numberOfFingers,
int time,
List<TouchPoint> startPositions)
Construct a LongTapEvent |
Method Summary | |
---|---|
protected void |
dispatch(LongTapHandler handler)
|
com.google.gwt.event.shared.GwtEvent.Type<LongTapHandler> |
getAssociatedType()
|
int |
getNumberOfFingers()
the number of fingers that created this event |
List<TouchPoint> |
getStartPositions()
the start position of all fingers |
int |
getTime()
the time the user held the fingers |
static com.google.gwt.event.shared.GwtEvent.Type<LongTapHandler> |
getType()
Returns the type of the event |
Methods inherited from class com.google.gwt.event.shared.GwtEvent |
---|
assertLive, getSource, isLive, kill, revive |
Methods inherited from class com.google.web.bindery.event.shared.Event |
---|
setSource, toDebugString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LongTapEvent(Object source, int numberOfFingers, int time, List<TouchPoint> startPositions)
source
- - the source of the eventnumberOfFingers
- the number of fingers usedtime
- the time the fingers where touchingstartPositions
- the start position of each fingerMethod Detail |
---|
public static com.google.gwt.event.shared.GwtEvent.Type<LongTapHandler> getType()
public com.google.gwt.event.shared.GwtEvent.Type<LongTapHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<LongTapHandler>
protected void dispatch(LongTapHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<LongTapHandler>
public int getNumberOfFingers()
public List<TouchPoint> getStartPositions()
public int getTime()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |