com.esri.arcgis.arcglobe
Class IGMxDocumentEventsAdapter

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

public class IGMxDocumentEventsAdapter
extends Object
implements IGMxDocumentEvents

See Also:
Serialized Form

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

Constructor Detail

IGMxDocumentEventsAdapter

public IGMxDocumentEventsAdapter()
Method Detail

onContextMenu

public 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.

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

newDocument

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

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

openDocument

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

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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

beforeCloseDocument

public 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.

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

closeDocument

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

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

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