public class PanListener extends PanListenerImpl
Inherits PanListener
enabling/disabling special
controls for managing the data.
PanListenerImpl
Constructor and Description |
---|
PanListener(MapControl mapCtrl)
Creates a new
PanListener object. |
Modifier and Type | Method and Description |
---|---|
void |
move(MoveEvent event)
Called when user drags the mouse on the view.
|
cancelDrawing, getImageCursor
public PanListener(MapControl mapCtrl)
Creates a new PanListener
object.
mapCtrl
- the MapControl
where will be applied the changespublic void move(MoveEvent event)
PanListener
Called when user drags the mouse on the view.
Updates the extent coordinates according to the direction of the movement between the initial and final points of line determined by the move of the mouse.
move
in interface PanListener
move
in class PanListenerImpl
event
- mouse event information about the initial and final positions of the movement