Interface RectangleListener
- All Superinterfaces:
ToolListener
- All Known Implementing Classes:
BaseMapTool,RectangleSelectionListener,ZoomInListenerImpl
Interface specialized for tools that reply for a RectangleEvent produced in the
associated MapControl object, as a consequence of a 2D rectangle drawn by the mouse.
- Author:
- Vicente Caballero Navarro
-
Method Summary
Modifier and TypeMethodDescriptionvoidrectangle(EnvelopeEvent event) Called when user executes a double click with the mouse, finishing the drawn of the rectangle.Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
cancelDrawing, getImageCursor
-
Method Details
-
rectangle
Called when user executes a double click with the mouse, finishing the drawn of the rectangle.
All features of the active and vector layers of the associated
MapControlobject that their area intersect with the polygonal area defined in the event, will be selected.- Parameters:
event- mouse event and information about the rectangle defined- Throws:
BehaviorException- will be thrown when fails the process of this tool
-