com.esri.arcgis.carto
Interface IMapEvents2

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IMapEvents2Adapter, IMapEvents2Proxy

public interface IMapEvents2
extends EventListener, Serializable

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

Remarks

The IMapEvents2 interface is exposed off the Map object, enabling clients to listen and respond to two events occurring inside a map: ActiveGraphicsLayerChanged and TableChanged.

Product Availability

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


Method Summary
 void activeGraphicsLayerChanged(IMapEvents2ActiveGraphicsLayerChangedEvent theEvent)
          Fired when the active graphics layer changes.
 void tableChanged(IMapEvents2TableChangedEvent theEvent)
          Fired when the table object changes.
 

Method Detail

tableChanged

void tableChanged(IMapEvents2TableChangedEvent theEvent)
                  throws IOException,
                         AutomationException
Fired when the table object 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.

activeGraphicsLayerChanged

void activeGraphicsLayerChanged(IMapEvents2ActiveGraphicsLayerChangedEvent theEvent)
                                throws IOException,
                                       AutomationException
Fired when the active graphics layer 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.