public class MultiTapEvent extends com.google.gwt.event.shared.GwtEvent<MultiTapHandler>
MultiTapEvent
occurs if the taps multiple times on the screenConstructor and Description |
---|
MultiTapEvent(int numberOfFingers,
int numberOfTaps,
LightArray<LightArray<Touch>> touchStarts)
Construct a Multitap event
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(MultiTapHandler handler) |
com.google.gwt.event.shared.GwtEvent.Type<MultiTapHandler> |
getAssociatedType() |
int |
getNumberOfFinders()
get the number of fingers that tapped on the screen
|
int |
getNumberOfTabs()
get the number of times the screen was tapped
|
LightArray<LightArray<Touch>> |
getTouchStarts()
get the position of the fingers that started the taps
|
static com.google.gwt.event.shared.GwtEvent.Type<MultiTapHandler> |
getType() |
assertLive, getSource, isLive, kill, revive
public MultiTapEvent(int numberOfFingers, int numberOfTaps, LightArray<LightArray<Touch>> touchStarts)
numberOfFingers
- the number of fingers that tapped on the screennumberOfTaps
- the number of times the screen was tappedtouchStarts
- the position of the fingers that started the tapspublic static com.google.gwt.event.shared.GwtEvent.Type<MultiTapHandler> getType()
public int getNumberOfFinders()
public LightArray<LightArray<Touch>> getTouchStarts()
public int getNumberOfTabs()
public com.google.gwt.event.shared.GwtEvent.Type<MultiTapHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<MultiTapHandler>
protected void dispatch(MultiTapHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<MultiTapHandler>
Copyright © 2018 Magnolia International Ltd.. All rights reserved.