com.esri.arcgis.carto
Class GeoReferenceEvents

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

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

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
GeoReferenceEvents(Object obj)
          Construct a GeoReferenceEvents using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void addIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
          addIGeoReferenceEventsListener.
 boolean equals(Object o)
          Compare this object with another
 int hashCode()
          the hashcode for this object
 void removeIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
          removeIGeoReferenceEventsListener.
 
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

GeoReferenceEvents

public GeoReferenceEvents(Object obj)
                   throws IOException
Construct a GeoReferenceEvents using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GeoReferenceEvents.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
GeoReferenceEvents o = (GeoReferenceEvents)obj; // will not work

GeoReferenceEvents o = new GeoReferenceEvents(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems GeoReferenceEvents theGeoReferenceEvents = (GeoReferenceEvents) obj;
Method Detail

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

addIGeoReferenceEventsListener

public void addIGeoReferenceEventsListener(IGeoReferenceEvents theListener)
                                    throws IOException
addIGeoReferenceEventsListener. Listen to events generated by this class.

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

removeIGeoReferenceEventsListener

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

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