com.esri.arcgis.arcglobe
Class IGMxDocumentEventsDispProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcglobe.IGMxDocumentEventsDispProxy
All Implemented Interfaces:
IGMxDocumentEventsDisp, Externalizable, Serializable, EventListener

public class IGMxDocumentEventsDispProxy
extends com.esri.arcgis.interop.Dispatch
implements IGMxDocumentEventsDisp, Serializable

Provides access to events fired by ArcGlobe.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IGMxDocumentEventsDispProxy()
           
  IGMxDocumentEventsDispProxy(Object obj)
           
protected IGMxDocumentEventsDispProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean beforeCloseDocument(IGMxDocumentEventsDispBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 boolean closeDocument(IGMxDocumentEventsDispCloseDocumentEvent theEvent)
          Fired when a document is closed.
 boolean newDocument(IGMxDocumentEventsDispNewDocumentEvent theEvent)
          Fired when a new document is created.
 boolean onContextMenu(IGMxDocumentEventsDispOnContextMenuEvent theEvent)
          Fired when a context menu should be displayed at the given xy location.
 boolean openDocument(IGMxDocumentEventsDispOpenDocumentEvent theEvent)
          Fired when a document is opened.
 void removeListener(String iidStr, Object theListener)
           
 boolean vBAReset(IGMxDocumentEventsDispVBAResetEvent theEvent)
          Fired when VBA is reset.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IGMxDocumentEventsDispProxy

public IGMxDocumentEventsDispProxy()

IGMxDocumentEventsDispProxy

public IGMxDocumentEventsDispProxy(Object obj)
                            throws IOException
Throws:
IOException

IGMxDocumentEventsDispProxy

protected IGMxDocumentEventsDispProxy(Object obj,
                                      String iid)
                               throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

onContextMenu

public boolean onContextMenu(IGMxDocumentEventsDispOnContextMenuEvent 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. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

newDocument

public boolean newDocument(IGMxDocumentEventsDispNewDocumentEvent theEvent)
                    throws IOException,
                           AutomationException
Fired when a new document is created. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

openDocument

public boolean openDocument(IGMxDocumentEventsDispOpenDocumentEvent theEvent)
                     throws IOException,
                            AutomationException
Fired when a document is opened. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

beforeCloseDocument

public boolean beforeCloseDocument(IGMxDocumentEventsDispBeforeCloseDocumentEvent 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.

Supported Platforms

Windows

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

closeDocument

public boolean closeDocument(IGMxDocumentEventsDispCloseDocumentEvent theEvent)
                      throws IOException,
                             AutomationException
Fired when a document is closed. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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

vBAReset

public boolean vBAReset(IGMxDocumentEventsDispVBAResetEvent theEvent)
                 throws IOException,
                        AutomationException
Fired when VBA is reset. Return true if handled.

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Supported Platforms

Windows

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