|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maryanovsky.map.client.actions.MapAction<HasAllDragHandlers>
com.maryanovsky.map.client.actions.touch.DragPanAction
public class DragPanAction
Pans the map as the user drags his finger across the map widget.
Field Summary |
---|
Fields inherited from class com.maryanovsky.map.client.actions.MapAction |
---|
isAnimated, mapWidget |
Constructor Summary | |
---|---|
DragPanAction(MapWidget mapWidget)
Creates a new DragPanAction for the specified map widget. |
Method Summary | |
---|---|
void |
onDragCancel(DragCancelEvent evt)
Invoked when a drag gesture is cancelled. |
void |
onDragEnd(DragEndEvent evt)
Invoked when a drag gesture ends. |
void |
onDragMove(DragMoveEvent evt)
Invoked when a drag gesture is in progress. |
HandlerRegistration |
registerWith(HasAllDragHandlers dragSource)
Registers for handling drag 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 DragPanAction(MapWidget mapWidget)
DragPanAction
for the specified map widget.
mapWidget
- The target map widget.Method Detail |
---|
public HandlerRegistration registerWith(HasAllDragHandlers dragSource)
registerWith
in class MapAction<HasAllDragHandlers>
public void onDragMove(DragMoveEvent evt)
onDragMove
in interface DragMoveHandler
public void onDragEnd(DragEndEvent evt)
onDragEnd
in interface DragEndHandler
public void onDragCancel(DragCancelEvent evt)
onDragCancel
in interface DragCancelHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |