com.esri.arcgis.arcglobe
Interface IGMxDocumentEventsDisp

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IGMxDocumentEventsDispAdapter, IGMxDocumentEventsDispProxy

public interface IGMxDocumentEventsDisp
extends EventListener, Serializable

Provides access to events fired by ArcGlobe.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.


Method Summary
 boolean beforeCloseDocument(IGMxDocumentEventsDispBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 boolean closeDocument(IGMxDocumentEventsDispCloseDocumentEvent theEvent)
          Fired when a document is closed.
 boolean newDocument(IGMxDocumentEventsDispNewDocumentEvent theEvent)
          Fired when a new document is created.
 boolean onContextMenu(IGMxDocumentEventsDispOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 boolean openDocument(IGMxDocumentEventsDispOpenDocumentEvent theEvent)
          Fired when a document is opened.
 boolean vBAReset(IGMxDocumentEventsDispVBAResetEvent theEvent)
          Fired when VBA is reset.
 

Method Detail

onContextMenu

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

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

newDocument

boolean newDocument(IGMxDocumentEventsDispNewDocumentEvent theEvent)
                    throws IOException,
                           AutomationException
Fired when a new document is created. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

openDocument

boolean openDocument(IGMxDocumentEventsDispOpenDocumentEvent theEvent)
                     throws IOException,
                            AutomationException
Fired when a document is opened. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

beforeCloseDocument

boolean beforeCloseDocument(IGMxDocumentEventsDispBeforeCloseDocumentEvent 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.

Supported Platforms

Windows

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

closeDocument

boolean closeDocument(IGMxDocumentEventsDispCloseDocumentEvent theEvent)
                      throws IOException,
                             AutomationException
Fired when a document is closed. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

vBAReset

boolean vBAReset(IGMxDocumentEventsDispVBAResetEvent theEvent)
                 throws IOException,
                        AutomationException
Fired when VBA is reset. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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