public interface PointListener extends ToolListener
Interface for all tools that reply for a PointEvent
produced in the
associated MapControl
object, produced by a simple or double click of a button
of the mouse.
Modifier and Type | Method and Description |
---|---|
void |
point(PointEvent event)
Called when one click is pressed on the associated
MapControl , or the location of the cursor
of the mouse has changed on it. |
void |
pointDoubleClick(PointEvent event)
Called when a double click is pressed on the associated
MapControl . |
cancelDrawing, getImageCursor
void point(PointEvent event) throws BehaviorException
Called when one click is pressed on the associated MapControl
, or the location of the cursor
of the mouse has changed on it.
event
- mouse event with the coordinates of the point selected on the associated MapControl
BehaviorException
- will be thrown when fails the process of this toolvoid pointDoubleClick(PointEvent event) throws BehaviorException
Called when a double click is pressed on the associated MapControl
.
event
- mouse event and the coordinates of the point selected on the associated MapControl
BehaviorException
- will be thrown when fails the process of this tool