|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.AnnotationFeatureClassExtension
public class AnnotationFeatureClassExtension
An ESRI annotation feature class extension.
The AnnotationFeatureClassExtension CoClass manages the drawing of annotation features.
The AnnotationFeatureClassExtension is used to configure the drawing properties and symbology for annoation features. The IAnnoClass interface is used to access the AnnotationLayerProperties and GroupSymbols. The IAnnoClassAdmin interface is used to update the properties of the class. ArcMap and ArcCatalog primarily use these interfaces.
| Constructor Summary | |
|---|---|
AnnotationFeatureClassExtension()
Constructs a AnnotationFeatureClassExtension using ArcGIS Engine. |
|
AnnotationFeatureClassExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AnnotationFeatureClassExtension theAnnotationFeatureClassExtension = (AnnotationFeatureClassExtension) obj; |
|
| Method Summary | |
|---|---|
boolean |
confirmSendRelatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
Notifies this object that a related object changed and asks if events should be sent. |
boolean |
confirmSendRelatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
Notifies this object that a related object moved and asks if events should be sent. |
boolean |
confirmSendRelatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
Notifies this object that a related object rotated and asks if events should be sent. |
boolean |
confirmSendRelatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatChanged,
ILine moveVector)
Notifies this object that a set of objects with relationships to the input set of objects moved and asks if events should be sent. |
boolean |
confirmSendRelatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatChanged,
IPoint origin,
double angle)
Notifies this object that a set of objects with relationships to the input set of objects rotated and asks if events should be sent. |
void |
draw(IAnnotationFeature annoFeature,
IDisplay display,
ISymbol symbol)
Draws the given annotation feature. |
boolean |
equals(Object o)
Compare this object with another |
IAnnotateLayerPropertiesCollection |
getAnnoProperties()
The labeling properties annotation classes. |
int |
getAnnotationClassIDFieldIndex()
The label class ID field index. |
static String |
getClsid()
getClsid. |
int |
getCustomSplitPolicyForRelationship(IRow row,
IRelationshipClass relClass)
The custom split policy for handling relationships. |
IDisplay |
getDisplay()
The display. |
IDisplay |
getDisplay(IElement pElement)
The display based on the given element. |
int |
getElementFieldIndex()
The element field index. |
IFeatureClass |
getFeatureClass()
The feature class. |
int |
getFeatureIDFieldIndex()
The feature ID field index. |
IFeatureClass |
getLinkedFeatureClass()
The feature class to which the annotation class is feature linked. |
IOverposterProperties |
getOverposterProperties()
The overposter properties. |
double |
getReferenceScale()
The reference scale. |
int |
getReferenceScaleUnits()
The units of the reference scale. |
int |
getStatusFieldIndex()
The status field index. |
ISymbol |
getSymbol(int symbolID)
The symbol associated with the given ID. |
ISymbolCollection |
getSymbolCollection()
The symbol collection. |
short |
getVersion()
The version of the annotation class. |
boolean |
hasCustomSplitPolicyForRelationship()
True if the feature class has a custom split policy for handling relationships. |
int |
hashCode()
the hashcode for this object |
void |
init(IClassHelper classHelper,
IPropertySet extensionProperties)
Initializes the extension, passing in a reference to its class helper. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAllowSymbolOverrides()
Indicates if an annotation may override a symbol property even though it references the symbol collection. |
boolean |
isAutoCreate()
Indicates if an annotation is to be automatically created when a feature is created. |
boolean |
isCanEditWithProjection()
Indicates if the associated feature class can be edited in projected spaces. |
boolean |
isRequireSymbolID()
Indicates if an annotation must belong to a symbol in the symbol collection. |
boolean |
isUpdateOnShapeChange()
Indicates if an annotation is to be automatically recreated when a feature's shape is changed. |
void |
loadClass(IStream stream,
boolean[] canLoad)
Looks at the class information and determines if it can load the features. |
void |
loadFeature(IStream stream,
IFeature feature)
Loads the feature information and updates the feature. |
void |
onChange(IObjectClassEventsOnChangeEvent theEvent)
This event is fired when an object's attributes or geometry is updated. |
void |
onCreate(IObjectClassEventsOnCreateEvent theEvent)
This event is fired when a new object is created in the object class. |
void |
onDelete(IObjectClassEventsOnDeleteEvent theEvent)
This event is fired when an object is deleted from the object class. |
void |
relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
Notifies this object class that a related object was created. |
void |
saveClass(IStream stream)
Writes out to the stream, class information used to aid loading. |
void |
saveFeature(IStream stream,
IFeature feature)
Writes out to the stream, feature infomation used to aid loading. |
void |
setAllowSymbolOverrides(boolean rhs1)
Indicates if an annotation may override a symbol property even though it references the symbol collection. |
void |
setAnnoProperties(IAnnotateLayerPropertiesCollection rhs1)
The labeling properties annotation class. |
void |
setAutoCreate(boolean flag)
Indicates if an annotation is to be automatically created when a feature is created. |
void |
setOverposterProperties(IOverposterProperties rhs1)
The overposter properties. |
void |
setReferenceScale(double rhs1)
The reference scale. |
void |
setReferenceScaleUnits(int rhs1)
The units of the reference scale. |
void |
setRequireSymbolID(boolean rhs1)
Indicates an annotation must belong to a symbol in the symbol collection. |
void |
setSymbolCollectionByRef(ISymbolCollection rhs1)
The symbol collection. |
void |
setUpdateOnShapeChange(boolean flag)
Indicates if an annotation is to be automatically recreated when a feature's shape is changed. |
void |
shutdown()
Informs the extension that its class helper is going away. |
void |
synchronizeAttributes(ITextElement pTextElement,
IAnnotationFeature pAnnoFeature)
Sync the attributes. |
void |
updateFieldIndexes()
Updates the indexes of the fields that expose the annotation properties. |
void |
updateProperties()
Updates the property set. |
| 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 |
|---|
public AnnotationFeatureClassExtension()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AnnotationFeatureClassExtension(Object obj)
throws IOException
AnnotationFeatureClassExtension theAnnotationFeatureClassExtension = (AnnotationFeatureClassExtension) obj;
obj to AnnotationFeatureClassExtension.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void init(IClassHelper classHelper,
IPropertySet extensionProperties)
throws IOException,
AutomationException
If a reference to the class is required by other class extension members, the class helper should be stored in a member variable. Storing an object or feature class directly within a class extension is strongly discouraged.
init in interface IClassExtensionclassHelper - A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)extensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws IOException,
AutomationException
Shutdown is called when the extension's class is cleared from the client's memory, or when the extension is removed from the class. Note that if a class is deleted from a geodatabase, it may remain in memory, so this should not be relied upon for behavior that should be triggered by a class' deletion.
shutdown in interface IClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getFeatureClass()
throws IOException,
AutomationException
getFeatureClass in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAnnotateLayerPropertiesCollection getAnnoProperties()
throws IOException,
AutomationException
Returns Nothing if no labeling properties set. This occurs when the annotation feature class is created by converting labels to annotation or when created as an annotation target containing graphics.
getAnnoProperties in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(int symbolID)
throws IOException,
AutomationException
getSymbol in interface IAnnoClasssymbolID - The symbolID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws IOException,
AutomationException
getReferenceScale in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getReferenceScaleUnits()
throws IOException,
AutomationException
getReferenceScaleUnits in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbolCollection getSymbolCollection()
throws IOException,
AutomationException
getSymbolCollection in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getVersion()
throws IOException,
AutomationException
getVersion in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IAnnotationFeature annoFeature,
IDisplay display,
ISymbol symbol)
throws IOException,
AutomationException
draw in interface IAnnoClassannoFeature - A reference to a com.esri.arcgis.carto.IAnnotationFeature (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementFieldIndex()
throws IOException,
AutomationException
getElementFieldIndex in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureIDFieldIndex()
throws IOException,
AutomationException
getFeatureIDFieldIndex in interface IAnnoClassIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplay getDisplay()
throws IOException,
AutomationException
getDisplay in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronizeAttributes(ITextElement pTextElement,
IAnnotationFeature pAnnoFeature)
throws IOException,
AutomationException
synchronizeAttributes in interface IAnnotationClassExtensionpTextElement - A reference to a com.esri.arcgis.carto.ITextElement (in)pAnnoFeature - A reference to a com.esri.arcgis.carto.IAnnotationFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAnnotationClassIDFieldIndex()
throws IOException,
AutomationException
getAnnotationClassIDFieldIndex in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStatusFieldIndex()
throws IOException,
AutomationException
getStatusFieldIndex in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUpdateOnShapeChange()
throws IOException,
AutomationException
isUpdateOnShapeChange in interface IAnnoClassAdmin2isUpdateOnShapeChange in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoCreate()
throws IOException,
AutomationException
isAutoCreate in interface IAnnoClassAdminisAutoCreate in interface IAnnoClassAdmin2isAutoCreate in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRequireSymbolID()
throws IOException,
AutomationException
isRequireSymbolID in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAllowSymbolOverrides()
throws IOException,
AutomationException
isAllowSymbolOverrides in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IOverposterProperties getOverposterProperties()
throws IOException,
AutomationException
getOverposterProperties in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getLinkedFeatureClass()
throws IOException,
AutomationException
getLinkedFeatureClass in interface IAnnotationClassExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplay getDisplay(IElement pElement)
throws IOException,
AutomationException
getDisplay in interface IAnnotationClassExtension2pElement - A reference to a com.esri.arcgis.carto.IElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoCreate(boolean flag)
throws IOException,
AutomationException
setAutoCreate in interface IAnnoClassAdminsetAutoCreate in interface IAnnoClassAdmin2setAutoCreate in interface IAnnoClassAdmin3flag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnnoProperties(IAnnotateLayerPropertiesCollection rhs1)
throws IOException,
AutomationException
setAnnoProperties in interface IAnnoClassAdminsetAnnoProperties in interface IAnnoClassAdmin2setAnnoProperties in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double rhs1)
throws IOException,
AutomationException
The reference scale describes the scale at which the annotation text is displayed at the font size specified. As you zoom out, the text will get smaller, and as you zoom in, the text will get larger.
The reference scale should always be in the same units as the horizontal coordinate system (geographic or projected) of the annotation class.
setReferenceScale in interface IAnnoClassAdminsetReferenceScale in interface IAnnoClassAdmin2setReferenceScale in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScaleUnits(int rhs1)
throws IOException,
AutomationException
setReferenceScaleUnits in interface IAnnoClassAdminsetReferenceScaleUnits in interface IAnnoClassAdmin2setReferenceScaleUnits in interface IAnnoClassAdmin3rhs1 - A com.esri.arcgis.system.esriUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolCollectionByRef(ISymbolCollection rhs1)
throws IOException,
AutomationException
setSymbolCollectionByRef in interface IAnnoClassAdminsetSymbolCollectionByRef in interface IAnnoClassAdmin2setSymbolCollectionByRef in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.display.ISymbolCollection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateProperties()
throws IOException,
AutomationException
updateProperties in interface IAnnoClassAdminupdateProperties in interface IAnnoClassAdmin2updateProperties in interface IAnnoClassAdmin3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean confirmSendRelatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
throws IOException,
AutomationException
confirmSendRelatedObjectChanged in interface IConfirmSendRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean confirmSendRelatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
throws IOException,
AutomationException
confirmSendRelatedObjectMoved in interface IConfirmSendRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean confirmSendRelatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatChanged,
ILine moveVector)
throws IOException,
AutomationException
confirmSendRelatedObjectSetMoved in interface IConfirmSendRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean confirmSendRelatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
throws IOException,
AutomationException
confirmSendRelatedObjectRotated in interface IConfirmSendRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean confirmSendRelatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatChanged,
IPoint origin,
double angle)
throws IOException,
AutomationException
confirmSendRelatedObjectSetRotated in interface IConfirmSendRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public void setUpdateOnShapeChange(boolean flag)
throws IOException,
AutomationException
setUpdateOnShapeChange in interface IAnnoClassAdmin2setUpdateOnShapeChange in interface IAnnoClassAdmin3flag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRequireSymbolID(boolean rhs1)
throws IOException,
AutomationException
setRequireSymbolID in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowSymbolOverrides(boolean rhs1)
throws IOException,
AutomationException
setAllowSymbolOverrides in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOverposterProperties(IOverposterProperties rhs1)
throws IOException,
AutomationException
setOverposterProperties in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.carto.IOverposterProperties (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateFieldIndexes()
throws IOException,
AutomationException
updateFieldIndexes in interface IAnnoClassAdmin3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEditWithProjection()
throws IOException,
AutomationException
ArcMap supports the editing of simple features in a different spatial reference than that of the feature dataset. If the associated feature class is of type esriFTSimple, editing of the feature class in different spatial reference can be prevented by implementing the CanEditWithProjection property and returning False.
isCanEditWithProjection in interface IFeatureClassEditIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean hasCustomSplitPolicyForRelationship()
throws IOException,
AutomationException
When a feature with related objects is split, the relationships are modified depending on the type (simple or composite) and cardinality of the relationship class. If the default behavior is not appropriate for a class, return True for the HasCustomSplitPolicy method. Through the CustomSplitPolicyForRelationship property, a custom split policy can be specified according to subtype and relationship.
hasCustomSplitPolicyForRelationship in interface IFeatureClassEditIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public int getCustomSplitPolicyForRelationship(IRow row,
IRelationshipClass relClass)
throws IOException,
AutomationException
getCustomSplitPolicyForRelationship in interface IFeatureClassEditrow - A reference to a com.esri.arcgis.geodatabase.IRow (in)relClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveClass(IStream stream)
throws IOException,
AutomationException
saveClass in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadClass(IStream stream,
boolean[] canLoad)
throws IOException,
AutomationException
loadClass in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)canLoad - The canLoad (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveFeature(IStream stream,
IFeature feature)
throws IOException,
AutomationException
saveFeature in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadFeature(IStream stream,
IFeature feature)
throws IOException,
AutomationException
loadFeature in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
throws IOException,
AutomationException
The RelationshipClass argument is useful for establishing new relationships. Since an object class may often participate in many relationships, the properties of RelationshipClass can be used to modify behavior of this method.
In order for this method to be called, the relationship class must have messaging set. If the object class which this class extension is associated with is the origin class in the relationship class, then the messaging should be set to Backward or Both. If the object class is the destination class in the relationship, then messaging should be set to Forward or Both.
relatedObjectCreated in interface IRelatedObjectClassEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatWasCreated - A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public void onCreate(IObjectClassEventsOnCreateEvent theEvent)
throws IOException,
AutomationException
onCreate in interface IObjectClassEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onDelete(IObjectClassEventsOnDeleteEvent theEvent)
throws IOException,
AutomationException
onDelete in interface IObjectClassEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onChange(IObjectClassEventsOnChangeEvent theEvent)
throws IOException,
AutomationException
In the event that a feature should be deleted due to an OnChange event, it is not recommended that the event handler delete the feature itself. Instead, an exception should be thrown to the application, where it can be made responsible for deleting the feature.
The OnChange event is not fired during a Topology Validation for performance reasons as a large number of features may be changed during a Validate. In addition, features may be changed many times.
onChange in interface IObjectClassEventstheEvent - The event
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||