Interface PointListener
- All Superinterfaces:
ToolListener
- All Known Subinterfaces:
AngleListener
- All Known Implementing Classes:
AbstractPointListener,BaseMapTool,PointSelectionListener,SelectImageListenerImpl,ZoomOutListenerImpl,ZoomOutRightButtonListener
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
Modifier and TypeMethodDescriptionvoidpoint(PointEvent event) Called when one click is pressed on the associatedMapControl, or the location of the cursor of the mouse has changed on it.voidpointDoubleClick(PointEvent event) Called when a double click is pressed on the associatedMapControl.Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
cancelDrawing, getImageCursor
-
Method Details
-
point
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 associatedMapControl- Throws:
BehaviorException- will be thrown when fails the process of this tool
-
pointDoubleClick
Called when a double click is pressed on the associated
MapControl.- Parameters:
event- mouse event and the coordinates of the point selected on the associatedMapControl- Throws:
BehaviorException- will be thrown when fails the process of this tool
-