com.esri.arcgis.arcmapui
Class IDocumentEventsDispProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IDocumentEventsDispProxy
All Implemented Interfaces:
IDocumentEventsDisp, java.io.Externalizable, java.io.Serializable, java.util.EventListener

public class IDocumentEventsDispProxy
extends com.esri.arcgis.interop.Dispatch
implements IDocumentEventsDisp, java.io.Serializable

Internal use class Proxy for COM Interface 'IDocumentEventsDisp'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description: 'Provides access to events that occur in ArcMap.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
static java.util.Hashtable dispidsTable
           
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.arcmapui.IDocumentEventsDisp
DISPID_1_NAME, DISPID_2_NAME, DISPID_3_NAME, DISPID_4_NAME, DISPID_5_NAME, DISPID_6_NAME, DISPID_7_NAME, DISPID_8_NAME, IID, IID91e55ef5_fbc5_11d1_94a2_080009eebecb
 
Constructor Summary
  IDocumentEventsDispProxy()
          For internal use only
  IDocumentEventsDispProxy(java.lang.Object obj)
           
protected IDocumentEventsDispProxy(java.lang.Object obj, java.lang.String iid)
           
  IDocumentEventsDispProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IDocumentEventsDispProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 boolean activeViewChanged(IDocumentEventsDispActiveViewChangedEvent theEvent)
          Fired when the active view has changed.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 boolean beforeCloseDocument(IDocumentEventsDispBeforeCloseDocumentEvent theEvent)
          Fired before a document is closed.
 boolean closeDocument(IDocumentEventsDispCloseDocumentEvent theEvent)
          Fired when a document is closed.
 boolean mapsChanged(IDocumentEventsDispMapsChangedEvent theEvent)
          Fired when a change is made to the map collection.
 boolean newDocument(IDocumentEventsDispNewDocumentEvent theEvent)
          Fired when a new document is created.
 boolean onContextMenu(IDocumentEventsDispOnContextMenuEvent theEvent)
          Indicates if a context menu should be displayed at the given xy location.
 boolean openDocument(IDocumentEventsDispOpenDocumentEvent theEvent)
          Fired when a document is opened.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 boolean vBAReset(IDocumentEventsDispVBAResetEvent 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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable

dispidsTable

public static java.util.Hashtable dispidsTable
Constructor Detail

IDocumentEventsDispProxy

public IDocumentEventsDispProxy(java.lang.String CLSID,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.net.UnknownHostException,
                                java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IDocumentEventsDispProxy

public IDocumentEventsDispProxy()
For internal use only


IDocumentEventsDispProxy

public IDocumentEventsDispProxy(java.lang.Object obj)
                         throws java.io.IOException
Throws:
java.io.IOException

IDocumentEventsDispProxy

protected IDocumentEventsDispProxy(java.lang.Object obj,
                                   java.lang.String iid)
                            throws java.io.IOException
Throws:
java.io.IOException

IDocumentEventsDispProxy

protected IDocumentEventsDispProxy(java.lang.String CLSID,
                                   java.lang.String iid,
                                   java.lang.String host,
                                   com.esri.arcgis.interop.AuthInfo authInfo)
                            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

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

removeListener

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

activeViewChanged

public boolean activeViewChanged(IDocumentEventsDispActiveViewChangedEvent theEvent)
                          throws java.io.IOException,
                                 AutomationException
Fired when the active view has changed.

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

mapsChanged

public boolean mapsChanged(IDocumentEventsDispMapsChangedEvent theEvent)
                    throws java.io.IOException,
                           AutomationException
Fired when a change is made to the map collection.

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

onContextMenu

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

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

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

openDocument

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

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

closeDocument

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

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

beforeCloseDocument

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

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

vBAReset

public boolean vBAReset(IDocumentEventsDispVBAResetEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Fired when VBA is reset.

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