|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISelectionEvents
Provides access to events that occur when the selection changes.
Use this interface to be notified when the selection changes. This event is fired by the Map coclass and can be listened to by implementing ISelectionEvents.
As of ArcGIS 9.2, when a selection is changed, more than one ISelectionEvents::SelectionChanged event occurs. Because of this, the event handler for ISelectionEvents::SelectionChanged should check to be sure that the SelectionSet of a given interface is valid before continuing. This will prevent errors caused by accessing a SelectionSet before it is assigned a new value.
Method Summary | |
---|---|
void |
selectionChanged(ISelectionEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
Method Detail |
---|
void selectionChanged(ISelectionEventsSelectionChangedEvent theEvent) throws IOException, AutomationException
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |