|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.map.client.actions.MapAction<HasAllPinchHandlers>
com.maryanovsky.map.client.actions.iphone.PinchMagnifyAction
public class PinchMagnifyAction
Magnifies and zooms in/out the map as the user pinches the map widget.
| Field Summary |
|---|
| Fields inherited from class com.maryanovsky.map.client.actions.MapAction |
|---|
isAnimated, mapWidget |
| Constructor Summary | |
|---|---|
PinchMagnifyAction(MapWidget mapWidget,
boolean isAnimated)
Creates a new PinchMagnifyAction for the specified map widget,
and with optionally animated zoom transition. |
|
| Method Summary | |
|---|---|
void |
onPinchCancel(PinchCancelEvent evt)
Invoked when a pinch gesture is cancelled. |
void |
onPinchChange(PinchChangeEvent evt)
Invoked when a pinch gesture continues. |
void |
onPinchEnd(PinchEndEvent evt)
Invoked when a pinch gesture ends. |
void |
onPinchStart(PinchStartEvent evt)
Invoked when a pinch gesture starts. |
HandlerRegistration |
registerWith(HasAllPinchHandlers pinchSource)
Registers for handling pinch events from the specified source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PinchMagnifyAction(MapWidget mapWidget,
boolean isAnimated)
PinchMagnifyAction for the specified map widget,
and with optionally animated zoom transition.
mapWidget - The target map widget.isAnimated - Whether the final zoom-adjusting transition is
animated.| Method Detail |
|---|
public HandlerRegistration registerWith(HasAllPinchHandlers pinchSource)
registerWith in class MapAction<HasAllPinchHandlers>public void onPinchStart(PinchStartEvent evt)
onPinchStart in interface PinchStartHandlerpublic void onPinchChange(PinchChangeEvent evt)
onPinchChange in interface PinchChangeHandlerpublic void onPinchEnd(PinchEndEvent evt)
onPinchEnd in interface PinchEndHandlerpublic void onPinchCancel(PinchCancelEvent evt)
onPinchCancel in interface PinchCancelHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||