com.esri.arcgis.geodatabase
Class IFeatureEventsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureEventsProxy
All Implemented Interfaces:
IFeatureEvents, Externalizable, Serializable

public class IFeatureEventsProxy
extends com.esri.arcgis.interop.Dispatch
implements IFeatureEvents, Serializable

Provides access to events that happen when a feature is split or merged.

Remarks

IFeatureEvents interface is only relevant to custom features. For simple features, these methods are triggered by the geodatabase, but no action is taken. If you create a custom feature, you may choose to re-implement IFeatureEvents to achieve certain functionality. IRowEvents complements this interface.

InitShape and OnMerge are deprecated and should not define any functionality.

Product Availability

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

See Also:
IFeature, IFeatureCursor, Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IFeatureEventsProxy()
           
  IFeatureEventsProxy(Object obj)
           
protected IFeatureEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void initShape()
          Initialize the shape.
 void onMerge()
          An after event that is fired when Features have been merged, on each deleted input Feature.
 void onSplit()
          An after event that is fired when a Feature is split, on the deleted input Feature.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureEventsProxy

public IFeatureEventsProxy()

IFeatureEventsProxy

public IFeatureEventsProxy(Object obj)
                    throws IOException
Throws:
IOException

IFeatureEventsProxy

protected IFeatureEventsProxy(Object obj,
                              String iid)
                       throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

initShape

public void initShape()
               throws IOException,
                      AutomationException
Initialize the shape.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
initShape in interface IFeatureEvents
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSplit

public void onSplit()
             throws IOException,
                    AutomationException
An after event that is fired when a Feature is split, on the deleted input Feature.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onSplit in interface IFeatureEvents
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMerge

public void onMerge()
             throws IOException,
                    AutomationException
An after event that is fired when Features have been merged, on each deleted input Feature.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onMerge in interface IFeatureEvents
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.