public class PolygonSelectListener extends PolygonSelectionListener
Inherits PolygonSelectionListener
enabling/disabling special
controls for managing the data selected.
PolygonSelectionListener
Constructor and Description |
---|
PolygonSelectListener(MapControl mapCtrl)
Creates a new
PolygonSelectListener object. |
Modifier and Type | Method and Description |
---|---|
void |
polylineFinished(MeasureEvent event)
Called when user executes a double click with the mouse, finishing the
drawn of the polyline.
|
cancelDrawing, getImageCursor, pointFixed, points
public PolygonSelectListener(MapControl mapCtrl)
Creates a new PolygonSelectListener
object.
mapCtrl
- the MapControl
where is drawn the polylinepublic void polylineFinished(MeasureEvent event) throws BehaviorException
PolylineListener
Called when user executes a double click with the mouse, finishing the drawn of the polyline.
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.
polylineFinished
in interface PolylineListener
polylineFinished
in class PolygonSelectionListener
event
- information about the mouse event, and geometry data of the polylineBehaviorException
- will be thrown when fails the process of this tool