com.esri.arcgis.arcmapui
Class DocumentEvents

java.lang.Object
  extended by com.esri.arcgis.arcmapui.DocumentEvents
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class DocumentEvents
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef

COM Class 'DocumentEvents'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriArcMapUI.olb'

Description 'Helper coclass for working with the nondefault outbound IDocumentEvents interface in VB.' 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

Constructor Summary
DocumentEvents()
          Constructs a DocumentEvents using ArcGIS Engine.
DocumentEvents(java.lang.Object obj)
          Construct a DocumentEvents using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIDocumentEventsListener(IDocumentEvents theListener)
          addIDocumentEventsListener.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a DocumentEvents.
 void removeIDocumentEventsListener(IDocumentEvents theListener)
          removeIDocumentEventsListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentEvents

public DocumentEvents()
               throws java.io.IOException,
                      java.net.UnknownHostException
Constructs a DocumentEvents using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DocumentEvents

public DocumentEvents(java.lang.Object obj)
               throws java.io.IOException
Construct a DocumentEvents using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to DocumentEvents.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems DocumentEvents theDocumentEvents = (DocumentEvents) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

addIDocumentEventsListener

public void addIDocumentEventsListener(IDocumentEvents theListener)
                                throws java.io.IOException
addIDocumentEventsListener. Listen to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.arcmapui.IDocumentEvents interface.
Throws:
java.io.IOException - If there are communications problems.

removeIDocumentEventsListener

public void removeIDocumentEventsListener(IDocumentEvents theListener)
                                   throws java.io.IOException
removeIDocumentEventsListener. Stop listening to events generated by this class.

Parameters:
theListener - An object that implements the com.esri.arcgis.arcmapui.IDocumentEvents interface.
Throws:
java.io.IOException - If there are communications problems.

release

public void release()
Release a DocumentEvents.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef