public class PolyLineSelectionListener
extends java.lang.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.
| Constructor and Description |
|---|
PolyLineSelectionListener(org.gvsig.fmap.mapcontrol.MapControl mc)
Creates a new
PolygonSelectionListener object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelDrawing() |
java.awt.Cursor |
getCursor() |
java.awt.Image |
getImageCursor() |
void |
pointFixed(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) |
void |
points(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) |
void |
polylineFinished(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event) |
public PolyLineSelectionListener(org.gvsig.fmap.mapcontrol.MapControl mc)
Creates a new PolygonSelectionListener object.
mc - the MapControl where is drawn the polylinepublic boolean cancelDrawing()
cancelDrawing in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListenerpublic java.awt.Cursor getCursor()
public java.awt.Image getImageCursor()
getImageCursor in interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListenerpublic void pointFixed(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event)
throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
pointFixed in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListenerorg.gvsig.fmap.mapcontrol.tools.BehaviorExceptionpublic void points(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event)
throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
points in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListenerorg.gvsig.fmap.mapcontrol.tools.BehaviorExceptionpublic void polylineFinished(org.gvsig.fmap.mapcontrol.tools.Events.MeasureEvent event)
throws org.gvsig.fmap.mapcontrol.tools.BehaviorException
polylineFinished in interface org.gvsig.fmap.mapcontrol.tools.Listeners.PolylineListenerorg.gvsig.fmap.mapcontrol.tools.BehaviorExceptionCopyright © 2025 gvSIG Association. All rights reserved.