public class PointSelectListener extends PointSelectionListener
Inherits PointSelectListener enabling/disabling
special controls for managing the data selected.
PointSelectionListenermapCtrl, PIXEL_TOLERANCE_FOR_QUERY_BY_POINT| 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, getSelectedGeometrypublic PointSelectListener(MapControl mapCtrl)
Creates a new PointSelectListener object.
mapCtrl - the MapControl where will be applied the
changespublic void point(PointEvent event) throws BehaviorException
PointListenerCalled 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 PointListenerpoint in class PointSelectionListenerevent - mouse event with the coordinates of the point selected on the associated MapControlBehaviorException - will be thrown when fails the process of this toolpublic void pointDoubleClick(PointEvent event) throws BehaviorException
PointListenerCalled when a double click is pressed on the associated MapControl.
pointDoubleClick in interface PointListenerpointDoubleClick in class PointSelectionListenerevent - mouse event and the coordinates of the point selected on the associated MapControlBehaviorException - will be thrown when fails the process of this tool