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

All Superinterfaces:
ToolListener
All Known Implementing Classes:
AbstractPointListener, PointSelectionListener, ZoomOutListenerImpl, ZoomOutRightButtonListener

public interface PointListener
extends ToolListener

Interface for all tools that reply for a PointEvent produced in the associated MapControl object, produced by a simple or double click of a button of the mouse.

Author:
Vicente Caballero Navarro

Method Summary
 void point(PointEvent event)
          Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.
 void pointDoubleClick(PointEvent event)
          Called when a double click is pressed on the associated MapControl.
 
Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
cancelDrawing, getImageCursor
 

Method Detail

point

void point(PointEvent event)
           throws BehaviorException

Called when one click is pressed on the associated MapControl, or the location of the cursor of the mouse has changed on it.

Parameters:
event - mouse event with the coordinates of the point selected on the associated MapControl
Throws:
BehaviorException - will be thrown when fails the process of this tool

pointDoubleClick

void pointDoubleClick(PointEvent event)
                      throws BehaviorException

Called when a double click is pressed on the associated MapControl.

Parameters:
event - mouse event and the coordinates of the point selected on the associated MapControl
Throws:
BehaviorException - will be thrown when fails the process of this tool


Copyright © 2014 gvSIG Association. All Rights Reserved.