com.esri.arcgis.arccatalog
Class IGxDocumentEventsDispAdapter

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

public class IGxDocumentEventsDispAdapter
extends Object
implements IGxDocumentEventsDisp

See Also:
Serialized Form

Constructor Summary
IGxDocumentEventsDispAdapter()
           
 
Method Summary
 void activeViewChanged(IGxDocumentEventsDispActiveViewChangedEvent theEvent)
          Fired when the active view changes.
 void closeDocument(IGxDocumentEventsDispCloseDocumentEvent theEvent)
          Fired when a document is closed.
 void newDocument(IGxDocumentEventsDispNewDocumentEvent theEvent)
          Fired when a new document is created.
 boolean onContextMenu(IGxDocumentEventsDispOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 void openDocument(IGxDocumentEventsDispOpenDocumentEvent theEvent)
          Fired when a document is opened.
 void vBAReset(IGxDocumentEventsDispVBAResetEvent 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

IGxDocumentEventsDispAdapter

public IGxDocumentEventsDispAdapter()
Method Detail

activeViewChanged

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

onContextMenu

public boolean onContextMenu(IGxDocumentEventsDispOnContextMenuEvent 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 IGxDocumentEventsDisp
Parameters:
theEvent - The event
Returns:
The bHandled
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

newDocument

public void newDocument(IGxDocumentEventsDispNewDocumentEvent 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 IGxDocumentEventsDisp
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

openDocument

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

closeDocument

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

vBAReset

public void vBAReset(IGxDocumentEventsDispVBAResetEvent theEvent)
              throws IOException,
                     AutomationException
Fired when VBA is reset.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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