com.esri.arcgis.carto
Interface IMapEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
HistoryViewerWindow, IMapEventsAdapter, IMapEventsProxy

public interface IMapEvents
extends EventListener, Serializable

Provides access to events that occur when the state of the map changes.

Remarks

The IMapEvents interface is exposed off the Map object, enabling clients to listen and respond to two events occurring inside a map: FeatureClassChanged and VersionChanged. Both of these events are related to changing the version the map’s layers are working with.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void featureClassChanged(IMapEventsFeatureClassChangedEvent theEvent)
          Fired when the feature class changes.
 void versionChanged(IMapEventsVersionChangedEvent theEvent)
          Fired when the version changes.
 

Method Detail

versionChanged

void versionChanged(IMapEventsVersionChangedEvent theEvent)
                    throws IOException,
                           AutomationException
Fired when the version changes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

featureClassChanged

void featureClassChanged(IMapEventsFeatureClassChangedEvent theEvent)
                         throws IOException,
                                AutomationException
Fired when the feature class changes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.