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, EventListener

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.

Supported Platforms

Windows, Solaris, Linux

See Also:
IFeature, IFeatureCursor, Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IFeatureEventsProxy()
           
  IFeatureEventsProxy(Object obj)
           
protected IFeatureEventsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void initShape(IFeatureEventsInitShapeEvent theEvent)
          Initialize the shape.
 void onMerge(IFeatureEventsOnMergeEvent theEvent)
          An after event that is fired when Features have been merged, on each deleted input Feature.
 void onSplit(IFeatureEventsOnSplitEvent theEvent)
          An after event that is fired when a Feature is split, on the deleted input Feature.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void writeExternal(ObjectOutput out)
           
 
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, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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(IFeatureEventsInitShapeEvent theEvent)
               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
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSplit

public void onSplit(IFeatureEventsOnSplitEvent theEvent)
             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
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMerge

public void onMerge(IFeatureEventsOnMergeEvent theEvent)
             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
Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException