public class LongTapEvent extends com.google.gwt.event.shared.GwtEvent<LongTapHandler>
Constructor and Description |
---|
LongTapEvent(Object source,
int numberOfFingers,
int time,
LightArray<Touch> startPositions)
Construct a LongTapEvent
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(LongTapHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<LongTapHandler> |
getAssociatedType() |
int |
getNumberOfFingers()
the number of fingers that created this event
|
LightArray<Touch> |
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
|
assertLive, getSource, isLive, kill, revive
public LongTapEvent(Object source, int numberOfFingers, int time, LightArray<Touch> startPositions)
source
- - the source of the eventnumberOfFingers
- the number of fingers usedtime
- the time the fingers where touchingstartPositions
- the start position of each fingerpublic 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 LightArray<Touch> getStartPositions()
public int getTime()
Copyright © 2021 Magnolia International Ltd.. All rights reserved.