Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/tools/Listeners/RectangleListener.java
RectangleListener.java | ||
---|---|---|
45 | 45 |
|
46 | 46 |
|
47 | 47 |
/** |
48 |
* Interfaz listener de rect?ngulo. |
|
48 |
* <p>Interface specialized for tools that reply for a {@link RectangleEvent RectangleEvent} produced in the |
|
49 |
* associated {@link MapControl MapControl} object, as a consequence of a 2D rectangle drawn by the mouse.</p> |
|
49 | 50 |
* |
50 | 51 |
* @author Vicente Caballero Navarro |
51 | 52 |
*/ |
52 | 53 |
public interface RectangleListener extends ToolListener { |
53 | 54 |
/** |
54 |
* Invocado cuando el usuario selecciona un rect?ngulo en la vista. |
|
55 |
* <p>Called when user executes a double click with the mouse, finishing the |
|
56 |
* drawn of the rectangle.</p> |
|
57 |
* |
|
58 |
* <p>All features of the active and vector layers of the associated <code>MapControl</code> object that |
|
59 |
* their area intersect with the polygonal area defined in the <i>event</i>, will be selected.</p> |
|
55 | 60 |
* |
56 |
* @param event Rectangle.
|
|
61 |
* @param event mouse event and information about the rectangle defined
|
|
57 | 62 |
* |
58 |
* @throws BehaviorException |
|
63 |
* @throws BehaviorException will be thrown when fails the process of this tool
|
|
59 | 64 |
*/ |
60 | 65 |
public void rectangle(RectangleEvent event) throws BehaviorException; |
61 | 66 |
} |
Also available in: Unified diff