public interface PanListener extends ToolListener
Interface for all tools that reply for a MoveEvent
produced in the
associated MapControl
object, as a consequence of a 2D drag and drop
movement of the mouse.
Modifier and Type | Method and Description |
---|---|
void |
move(MoveEvent event)
Called when user drags the mouse on the view.
|
cancelDrawing, getImageCursor
void move(MoveEvent event) throws BehaviorException
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.
event
- mouse event information about the initial and final positions of the movementBehaviorException
- will be thrown when fails the process of this tool