com.esri.arcgis.arccatalog
Class GxDocumentEvents

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

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

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
GxDocumentEvents()
          Constructs a GxDocumentEvents using ArcGIS Engine.
GxDocumentEvents(Object obj)
          Construct a GxDocumentEvents using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIGxDocumentEventsListener(IGxDocumentEvents theListener)
          addIGxDocumentEventsListener.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void removeIGxDocumentEventsListener(IGxDocumentEvents theListener)
          removeIGxDocumentEventsListener.
 
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

GxDocumentEvents

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

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

GxDocumentEvents

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems GxDocumentEvents theGxDocumentEvents = (GxDocumentEvents) 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

addIGxDocumentEventsListener

public void addIGxDocumentEventsListener(IGxDocumentEvents theListener)
                                  throws IOException
addIGxDocumentEventsListener. Listen to events generated by this class.

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

removeIGxDocumentEventsListener

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

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