com.esri.arcgis.arcglobe
Interface IGMxDocumentEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IGMxDocumentEventsAdapter, IGMxDocumentEventsProxy

public interface IGMxDocumentEvents
extends EventListener, Serializable

Provides access to the events fired by ArcGlobe.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.


Method Summary
 boolean beforeCloseDocument(IGMxDocumentEventsBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 void closeDocument(IGMxDocumentEventsCloseDocumentEvent theEvent)
          Fired when a document is closed.
 void newDocument(IGMxDocumentEventsNewDocumentEvent theEvent)
          Fired when a new document is created.
 void onContextMenu(IGMxDocumentEventsOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 void openDocument(IGMxDocumentEventsOpenDocumentEvent theEvent)
          Fired when a document is opened.
 

Method Detail

onContextMenu

void onContextMenu(IGMxDocumentEventsOnContextMenuEvent theEvent)
                   throws IOException,
                          AutomationException
Fired when a context menu should be displayed at the given xy location. Returns true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

newDocument

void newDocument(IGMxDocumentEventsNewDocumentEvent theEvent)
                 throws IOException,
                        AutomationException
Fired when a new document is created.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

openDocument

void openDocument(IGMxDocumentEventsOpenDocumentEvent theEvent)
                  throws IOException,
                         AutomationException
Fired when a document is opened.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

beforeCloseDocument

boolean beforeCloseDocument(IGMxDocumentEventsBeforeCloseDocumentEvent theEvent)
                            throws IOException,
                                   AutomationException
Fired before a document is closed. Return True to abort the close process.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

closeDocument

void closeDocument(IGMxDocumentEventsCloseDocumentEvent theEvent)
                   throws IOException,
                          AutomationException
Fired when a document is closed.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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