Revision 20100 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/tools/Listeners/ToolListener.java
ToolListener.java | ||
---|---|---|
44 | 44 |
|
45 | 45 |
|
46 | 46 |
/** |
47 |
* Interfaz listener de herramienta. |
|
48 |
* |
|
47 |
* <p>User can interact with a {@link MapControl MapControl} instance, working with a tool that applies changes on it |
|
48 |
* processing the events produced by the current {@link Behavior Behavior} of <code>MapControl</code>.</p> |
|
49 |
* |
|
50 |
* <p>The process that the tool applies on the <code>MapControl</code> is a consequence of the mouse actions |
|
51 |
* that user has done on that area.</p> |
|
52 |
* |
|
53 |
* <p>Only some tool listener can be cancelled.</p> |
|
54 |
* |
|
49 | 55 |
* @author Vicente Caballero Navarro |
50 | 56 |
*/ |
51 | 57 |
public interface ToolListener { |
52 | 58 |
/** |
53 |
* Devuelve el cursor de la herramienta.
|
|
54 |
* |
|
55 |
* @return Cursor.
|
|
59 |
* <p>Gets the <code>Cursor</code> associated to this tool.</p>
|
|
60 |
*
|
|
61 |
* @return component with the bitmap associated to this tool
|
|
56 | 62 |
*/ |
57 | 63 |
public Cursor getCursor(); |
58 | 64 |
|
59 | 65 |
/** |
60 |
* Condici?n para que se cancele el dibujado. |
|
61 |
* |
|
62 |
* @return True si se cancela el dibujado. |
|
66 |
* <p>Determines if the drawing process that this tool executes on the <code>MapControl</code> |
|
67 |
* instance could be canceled or not.</p> |
|
68 |
* |
|
69 |
* @return <code>true</code> if is cancellable; otherwise returns <code>false</code> |
|
63 | 70 |
*/ |
64 | 71 |
public boolean cancelDrawing(); |
65 | 72 |
} |
Also available in: Unified diff