com.esri.arcgis.arcmapui
Class DocumentEvents

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

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

Helper coclass for working with the nondefault outbound IDocumentEvents interface in VB.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
DocumentEvents()
          Constructs a DocumentEvents using ArcGIS Engine.
DocumentEvents(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(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIDocumentEventsListener(IDocumentEvents theListener)
          removeIDocumentEventsListener.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

DocumentEvents

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

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

DocumentEvents

public DocumentEvents(Object obj)
               throws 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:
IOException - if there are interop problems DocumentEvents theDocumentEvents = (DocumentEvents) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

addIDocumentEventsListener

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

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

removeIDocumentEventsListener

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

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