com.esri.arcgis.arccatalog
Class IGxDocumentEventsAdapter

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

public class IGxDocumentEventsAdapter
extends java.lang.Object
implements IGxDocumentEvents

Adapter for COM Event Interface 'com.esri.arcgis.arccatalog.IGxDocumentEvents'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriArcCatalog.olb'

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arccatalog.IGxDocumentEvents
IID, IIDc7a4b69c_62e7_11d2_8d47_080009ee4e51, xxDummy
 
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.
 boolean 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 java.io.IOException,
                              AutomationException
Fired when the active view changes.

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

onContextMenu

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

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

newDocument

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

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

openDocument

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

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

closeDocument

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

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