public interface RectangleListener extends ToolListener
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.
Modifier and Type | Method and Description |
---|---|
void |
rectangle(EnvelopeEvent event)
Called when user executes a double click with the mouse, finishing the
drawn of the rectangle.
|
cancelDrawing, getImageCursor
void rectangle(EnvelopeEvent event) throws BehaviorException
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 MapControl
object that
their area intersect with the polygonal area defined in the event, will be selected.
event
- mouse event and information about the rectangle definedBehaviorException
- will be thrown when fails the process of this tool