public class IdentifyLayerListener extends AbstractPointListener implements RectangleListener
| Constructor and Description |
|---|
IdentifyLayerListener(MapControl mapControl) |
| Modifier and Type | Method and Description |
|---|---|
void |
point(PointEvent e)
Called when one click is pressed on the associated
MapControl, or the location of the cursor
of the mouse has changed on it. |
void |
rectangle(EnvelopeEvent e)
Called when user executes a double click with the mouse, finishing the
drawn of the rectangle.
|
pointDoubleClickcancelDrawing, getImageCursorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelDrawing, getImageCursorpublic IdentifyLayerListener(MapControl mapControl)
public void point(PointEvent e) 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 PointListenere - mouse event with the coordinates of the point selected on the associated MapControlBehaviorException - will be thrown when fails the process of this toolpublic void rectangle(EnvelopeEvent e) throws BehaviorException
RectangleListenerCalled when user executes a double click with the mouse, finishing the drawn of the rectangle.
All features of the active and vector layers of the associated MapControl object that
their area intersect with the polygonal area defined in the event, will be selected.
rectangle in interface RectangleListenere - mouse event and information about the rectangle definedBehaviorException - will be thrown when fails the process of this tool