|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<H>
com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
com.maryanovsky.gwtutils.client.iphone.ui.touch.gestures.SyntheticTouchGestureEvent<PinchChangeHandler,TouchMoveEvent>
com.maryanovsky.gwtutils.client.iphone.ui.touch.gestures.pinch.PinchChangeEvent
public class PinchChangeEvent
Represents a pinch change event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
PinchChangeEvent(TouchMoveEvent evt,
double scale)
Creates a new PinchChangeEvent from the specified source
TouchMoveEvent and scale. |
|
| Method Summary | |
|---|---|
protected void |
dispatch(PinchChangeHandler handler)
Dispatches the event to the handler. |
GwtEvent.Type<PinchChangeHandler> |
getAssociatedType()
Returns the event type associated with pinch change events. |
double |
getScale()
Returns the factor by which the user changed the distance between his fingers. |
static GwtEvent.Type<PinchChangeHandler> |
getType()
Returns the event type associated with pinch change events. |
| Methods inherited from class com.maryanovsky.gwtutils.client.event.SyntheticEvent |
|---|
getSourceEvent |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
assertLive, getSource, isLive, kill, revive, toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PinchChangeEvent(TouchMoveEvent evt,
double scale)
PinchChangeEvent from the specified source
TouchMoveEvent and scale.
evt - The touch move event that triggered this event.scale - The factor by which the user changed the distance between
his fingers. Values greater than 1 imply he moved his fingers further
apart; values smaller than 1, closer together.| Method Detail |
|---|
public double getScale()
public static GwtEvent.Type<PinchChangeHandler> getType()
public GwtEvent.Type<PinchChangeHandler> getAssociatedType()
getAssociatedType in class GwtEvent<PinchChangeHandler>protected void dispatch(PinchChangeHandler handler)
dispatch in class GwtEvent<PinchChangeHandler>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||