com.esri.arcgis.arccatalog
Class IGxDocumentEventsAdapter

java.lang.Object
  extended by com.esri.arcgis.arccatalog.IGxDocumentEventsAdapter
All Implemented Interfaces:
IGxDocumentEvents, Serializable, EventListener

public class IGxDocumentEventsAdapter
extends Object
implements IGxDocumentEvents

See Also:
Serialized Form

Constructor Summary
IGxDocumentEventsAdapter()
           
 
Method Summary
 void activeViewChanged(IGxDocumentEventsActiveViewChangedEvent theEvent)
          Fired when the active view changes.
 void closeDocument(IGxDocumentEventsCloseDocumentEvent theEvent)
          Fired when a document is closed.
 void newDocument(IGxDocumentEventsNewDocumentEvent theEvent)
          Fired when a new document is created.
 void onContextMenu(IGxDocumentEventsOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 void openDocument(IGxDocumentEventsOpenDocumentEvent 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

IGxDocumentEventsAdapter

public IGxDocumentEventsAdapter()
Method Detail

activeViewChanged

public void activeViewChanged(IGxDocumentEventsActiveViewChangedEvent theEvent)
                       throws IOException,
                              AutomationException
Fired when the active view changes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

onContextMenu

public void onContextMenu(IGxDocumentEventsOnContextMenuEvent 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.

Supported Platforms

Windows

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

newDocument

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

openDocument

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

closeDocument

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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