|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PolylineListener
Interface for all tools that reply for a MeasureEvent produced in the
associated MapControl object, as a consequence of a 2D polyline drawn by the mouse.
| Method Summary | |
|---|---|
void |
pointFixed(MeasureEvent event)
Called when user executes a mouse click and selects a vertex of the polyline. |
void |
points(MeasureEvent event)
Called when user moves the mouse after selecting a vertex of the polyline. |
void |
polylineFinished(MeasureEvent event)
Called when user executes a double click with the mouse, finishing the drawn of the polyline. |
| Methods inherited from interface org.gvsig.fmap.mapcontrol.tools.Listeners.ToolListener |
|---|
cancelDrawing, getImageCursor |
| Method Detail |
|---|
void points(MeasureEvent event)
throws BehaviorException
Called when user moves the mouse after selecting a vertex of the polyline.
Each kind of polyline listener calculates different information with the data of the
MeasureEvent, according its nature.
event - information about the mouse event, and geometry data of the polyline
BehaviorException - will be thrown when fails the process of this tool
void pointFixed(MeasureEvent event)
throws BehaviorException
Called when user executes a mouse click and selects a vertex of the polyline.
event - information about the mouse event, and geometry data of the polyline
BehaviorException - will be thrown when fails the process of this tool
void polylineFinished(MeasureEvent event)
throws BehaviorException
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.
event - information about the mouse event, and geometry data of the polyline
BehaviorException - will be thrown when fails the process of this tool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||