public interface ToolListener
User can interact with a MapControl
instance, working with a tool that applies changes on it
processing the events produced by the current Behavior
of MapControl
.
The process that the tool applies on the MapControl
is a consequence of the mouse actions
that user has done on that area.
Only some tool listener can be cancelled.
Modifier and Type | Method and Description |
---|---|
boolean |
cancelDrawing()
Determines if the drawing process that this tool executes on the
MapControl
instance could be canceled or not. |
Image |
getImageCursor()
Gets the
Cursor associated to this tool. |
Image getImageCursor()
Gets the Cursor
associated to this tool.
boolean cancelDrawing()
Determines if the drawing process that this tool executes on the MapControl
instance could be canceled or not.
true
if is cancellable; otherwise returns false