Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/tools/Listeners/PolylineListener.java

View differences:

PolylineListener.java
45 45

  
46 46

  
47 47
/**
48
 * Interfaz de listener de medida.
48
 * <p>Interface for all tools that reply for a {@link MeasureEvent MeasureEvent} produced in the 
49
 *  associated {@link MapControl MapControl} object, as a consequence of a 2D polyline drawn by the mouse.</p>
49 50
 *
50 51
 * @author Vicente Caballero Navarro
51 52
 */
52 53
public interface PolylineListener extends ToolListener {
53 54
	/**
54
	 * Invocado cuando el usuario mueve el rat?n cambiando as? la posici?n del
55
	 * ?ltimo punto de la polil?nea
55
	 * <p>Called when user moves the mouse after selecting a vertex of the polyline.</p>
56
	 * <p>Each kind of polyline listener calculates different information with the data of the
57
	 *  <code>MeasureEvent</code>, according its nature.</p>
56 58
	 *
57
	 * @param event MeasureEvent.
59
	 * @param event information about the mouse event, and geometry data of the polyline
58 60
	 *
59
	 * @throws BehaviorException se lanza cuando falla la herramienta.
61
	 * @throws BehaviorException will be thrown when fails the process of this tool
60 62
	 */
61 63
	public void points(MeasureEvent event) throws BehaviorException;
62 64

  
63 65
	/**
64
	 * Invocado cuando el usuario hace click y fija un punto  de la polilinea
66
	 * <p>Called when user executes a mouse click and selects a vertex of the polyline.</p>
67
	 * 
68
	 * @param event information about the mouse event, and geometry data of the polyline
65 69
	 *
66
	 * @param event MeasureEvent.
67
	 *
68
	 * @throws BehaviorException se lanza cuando falla la herramienta.
70
	 * @throws BehaviorException will be thrown when fails the process of this tool
69 71
	 */
70 72
	public void pointFixed(MeasureEvent event) throws BehaviorException;
71 73

  
72 74
	/**
73
	 * Invocado cuando el usuario hace doble click y da por finalizada el
74
	 * dibujado de la polil?nea
75
	 * <p>Called when user executes a double click with the mouse, finishing the 
76
	 *  drawn of the polyline.</p>
77
	 * 
78
	 * <p>All features of the active and vector layers of the associated <code>MapControl</code> object that
79
	 *  their area intersect with the polygonal area defined in the <i>event</i>, will be selected.</p> 
75 80
	 *
76
	 * @param event MeasureEvent.
81
	 * @param event information about the mouse event, and geometry data of the polyline
77 82
	 *
78
	 * @throws BehaviorException se lanza cuando falla la herramienta.
83
	 * @throws BehaviorException will be thrown when fails the process of this tool
79 84
	 */
80 85
	public void polylineFinished(MeasureEvent event) throws BehaviorException;
81 86
}

Also available in: Unified diff