public class PointSelectListener extends PointSelectionListener
Inherits PointSelectListener
enabling/disabling special
controls for managing the data selected.
PointSelectionListener
mapCtrl
Constructor and Description |
---|
PointSelectListener(MapControl mapCtrl)
Creates a new
PointSelectListener object. |
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
public PointSelectListener(MapControl mapCtrl)
Creates a new PointSelectListener
object.
mapCtrl
- the MapControl
where will be applied the changespublic void point(PointEvent event) throws BehaviorException
PointListener
Called when one click is pressed on the associated MapControl
, or the location of the cursor
of the mouse has changed on it.
point
in interface PointListener
point
in class PointSelectionListener
event
- mouse event with the coordinates of the point selected on the associated MapControl
BehaviorException
- will be thrown when fails the process of this toolpublic void pointDoubleClick(PointEvent event) throws BehaviorException
PointListener
Called when a double click is pressed on the associated MapControl
.
pointDoubleClick
in interface PointListener
pointDoubleClick
in class PointSelectionListener
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