org.gvsig.fmap.mapcontrol.tools.Listeners
Interface PanListener

All Superinterfaces:
ToolListener
All Known Implementing Classes:
BaseMapTool, PanListenerImpl

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.

Author:
Vicente Caballero Navarro

Method Summary
 void move(MoveEvent event)
          Called when user drags the mouse on the view.
 
Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
cancelDrawing, getImageCursor
 

Method Detail

move

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.

Parameters:
event - mouse event information about the initial and final positions of the movement
Throws:
BehaviorException - will be thrown when fails the process of this tool


Copyright © 2014 gvSIG Association. All Rights Reserved.