Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/tools/Listeners/PointListener.java
PointListener.java | ||
---|---|---|
45 | 45 |
|
46 | 46 |
|
47 | 47 |
/** |
48 |
* Interfaz listener de punto. |
|
48 |
* <p>Interface for all tools that reply for a {@link PointEvent PointEvent} produced in the |
|
49 |
* associated {@link MapControl MapControl} object, produced by a simple or double click of a button |
|
50 |
* of the mouse.</p> |
|
49 | 51 |
* |
50 | 52 |
* @author Vicente Caballero Navarro |
51 | 53 |
*/ |
52 | 54 |
public interface PointListener extends ToolListener { |
53 | 55 |
/** |
54 |
* Invocado cuando se hace un pressed sobre la vista. |
|
56 |
* <p>Called when one click is pressed on the associated <code>MapControl</code>, or the location of the cursor |
|
57 |
* of the mouse has changed on it.</p> |
|
55 | 58 |
* |
56 |
* @param event PointEvent.
|
|
59 |
* @param event mouse event with the coordinates of the point selected on the associated <code>MapControl</code>
|
|
57 | 60 |
* |
58 |
* @throws BehaviorException se lanza cuando falla la herramienta.
|
|
61 |
* @throws BehaviorException will be thrown when fails the process of this tool
|
|
59 | 62 |
*/ |
60 | 63 |
public void point(PointEvent event) throws BehaviorException; |
61 | 64 |
|
65 |
/** |
|
66 |
* <p>Called when a double click is pressed on the associated <code>MapControl</code>.</p> |
|
67 |
* |
|
68 |
* @param event mouse event and the coordinates of the point selected on the associated <code>MapControl</code> |
|
69 |
* |
|
70 |
* @throws BehaviorException will be thrown when fails the process of this tool |
|
71 |
*/ |
|
62 | 72 |
public void pointDoubleClick(PointEvent event) throws BehaviorException; |
63 | 73 |
} |
Also available in: Unified diff