com.esri.arcgis.carto
Interface IGraphicsContainerEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
EngineInkEnvironment, IGraphicsContainerEventsAdapter

public interface IGraphicsContainerEvents
extends EventListener, Serializable

Provides access to events that occur when the graphics container changes.

Product Availability

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


Method Summary
 void allElementsDeleted(IGraphicsContainerEventsAllElementsDeletedEvent theEvent)
          Occurs when all the elements are deleted.
 void elementAdded(IGraphicsContainerEventsElementAddedEvent theEvent)
          Occurs when the element is added.
 void elementDeleted(IGraphicsContainerEventsElementDeletedEvent theEvent)
          Occurs when the element is deleted.
 void elementsAdded(IGraphicsContainerEventsElementsAddedEvent theEvent)
          Occurs when the elements are added.
 void elementUpdated(IGraphicsContainerEventsElementUpdatedEvent theEvent)
          Occurs when the element is updated.
 

Method Detail

elementAdded

void elementAdded(IGraphicsContainerEventsElementAddedEvent theEvent)
                  throws IOException,
                         AutomationException
Occurs when the element is added.

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.

elementsAdded

void elementsAdded(IGraphicsContainerEventsElementsAddedEvent theEvent)
                   throws IOException,
                          AutomationException
Occurs when the elements are added.

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.

elementDeleted

void elementDeleted(IGraphicsContainerEventsElementDeletedEvent theEvent)
                    throws IOException,
                           AutomationException
Occurs when the element is deleted.

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.

allElementsDeleted

void allElementsDeleted(IGraphicsContainerEventsAllElementsDeletedEvent theEvent)
                        throws IOException,
                               AutomationException
Occurs when all the elements are deleted.

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.

elementUpdated

void elementUpdated(IGraphicsContainerEventsElementUpdatedEvent theEvent)
                    throws IOException,
                           AutomationException
Occurs when the element is updated.

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.