com.esri.arcgis.geodatabase
Interface IFeatureEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
AnnotationFeature, ComplexEdgeFeature, ComplexJunctionFeature, CoverageAnnotationFeature, DimensionFeature, Feature, GeocodedFeature, IFeatureEventsAdapter, IFeatureEventsProxy, NALocationFeature, NATraversalResultElement, RasterCatalogItem, SimpleEdgeFeature, SimpleJunctionFeature, TopologyErrorFeature

public interface IFeatureEvents
extends EventListener, 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

Method Summary
 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.
 

Method Detail

initShape

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onSplit

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onMerge

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

Parameters:
theEvent - The event
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.