com.esri.arcgis.arcglobe
Class IGMxDocumentEventsAdapter

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

public class IGMxDocumentEventsAdapter
extends java.lang.Object
implements IGMxDocumentEvents

Adapter for COM Event Interface 'com.esri.arcgis.arcglobe.IGMxDocumentEvents'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriArcGlobe.olb'

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.arcglobe.IGMxDocumentEvents
IID, IIDb461cdd5_216d_11d6_b2b3_00508bcdde28, xxDummy
 
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.
 boolean 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 boolean onContextMenu(IGMxDocumentEventsOnContextMenuEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Fired when a context menu should be displayed at the given xy location. Returns true if handled.

Specified by:
onContextMenu in interface IGMxDocumentEvents
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(IGMxDocumentEventsNewDocumentEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when a new document is created.

Specified by:
newDocument in interface IGMxDocumentEvents
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(IGMxDocumentEventsOpenDocumentEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Fired when a document is opened.

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

beforeCloseDocument

public boolean beforeCloseDocument(IGMxDocumentEventsBeforeCloseDocumentEvent theEvent)
                            throws java.io.IOException,
                                   AutomationException
Fired before a document is closed. Return True to abort the close process.

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

closeDocument

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

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