com.esri.arcgis.carto
Interface IMapEvents

All Superinterfaces:
java.util.EventListener, java.io.Serializable
All Known Implementing Classes:
IMapEventsAdapter, IMapEventsProxy

public interface IMapEvents
extends java.util.EventListener, java.io.Serializable

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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.


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

Method Detail

versionChanged

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

Supported Platforms

Windows, Solaris, Linux

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

featureClassChanged

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

Supported Platforms

Windows, Solaris, Linux

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