Class PolyLineSelectionListener
java.lang.Object
org.gvsig.selectiontools.app.extension.tools.PolyLineSelectionListener
- All Implemented Interfaces:
org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener,org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
- Direct Known Subclasses:
PolyLineSelectListener
public class PolyLineSelectionListener
extends Object
implements org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener
Listener that selects all features of the active and vector layers which
intersect with the defined polyline in the associated MapControl object.
The selection will be produced after user finishes the creation of the polyline.
- Author:
- Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
-
Constructor Summary
ConstructorsConstructorDescriptionPolyLineSelectionListener(org.gvsig.fmap.mapcontrol.MapControl mc) Creates a newPolygonSelectionListenerobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidpointFixed(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) voidpoints(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) voidpolylineFinished(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event)
-
Constructor Details
-
PolyLineSelectionListener
public PolyLineSelectionListener(org.gvsig.fmap.mapcontrol.MapControl mc) Creates a new
PolygonSelectionListenerobject.- Parameters:
mc- theMapControlwhere is drawn the polyline
-
-
Method Details
-
getCursor
-
cancelDrawing
public boolean cancelDrawing()- Specified by:
cancelDrawingin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
-
points
public void points(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException - Specified by:
pointsin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException
-
pointFixed
public void pointFixed(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException - Specified by:
pointFixedin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException
-
polylineFinished
public void polylineFinished(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) throws org.gvsig.fmap.mapcontrol.tools.BehaviorException - Specified by:
polylineFinishedin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListener- Throws:
org.gvsig.fmap.mapcontrol.tools.BehaviorException
-
getImageCursor
- Specified by:
getImageCursorin interfaceorg.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener
-