com.esri.arcgis.editor
Class EditEvents2

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

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

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

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

EditEvents2

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

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

Throws:
IOException - if there are interop problems EditEvents2 theEditEvents2 = (EditEvents2) 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

addIEditEvents2Listener

public void addIEditEvents2Listener(IEditEvents2 theListener)
                             throws IOException
addIEditEvents2Listener. Listen to events generated by this class.

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

removeIEditEvents2Listener

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

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