com.esri.arcgis.arcglobe
Class IGMxDocumentEventsDispAdapter

java.lang.Object
  extended by com.esri.arcgis.arcglobe.IGMxDocumentEventsDispAdapter
All Implemented Interfaces:
IGMxDocumentEventsDisp, Serializable, EventListener

public class IGMxDocumentEventsDispAdapter
extends Object
implements IGMxDocumentEventsDisp

See Also:
Serialized Form

Constructor Summary
IGMxDocumentEventsDispAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGMxDocumentEventsDispAdapter

public IGMxDocumentEventsDispAdapter()
Method Detail

onContextMenu

public 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

Specified by:
onContextMenu in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bHandled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

newDocument

public 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

Specified by:
newDocument in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bStop
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDocument

public 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

Specified by:
openDocument in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bStop
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beforeCloseDocument

public 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

Specified by:
beforeCloseDocument in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The abortClose
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

closeDocument

public 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

Specified by:
closeDocument in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bStop
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

vBAReset

public 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

Specified by:
vBAReset in interface IGMxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bStop
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.