|
|||||||||
| 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
COM Class 'AnnotationFeatureClassExtension'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'An Esri annotation feature class extension.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Field Summary |
|---|
| Fields inherited from interface com.esri.arcgis.carto.IAnnotationClassExtension |
|---|
IID, IID129b8bf2_5d9d_45ae_864c_876f930a8cfb, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IAnnoClass |
|---|
IID4d10c41b_d7e0_11d2_9f41_00c04f6bc6a5 |
| Fields inherited from interface com.esri.arcgis.carto.IAnnotationClassExtension2 |
|---|
IID, IID75def45a_9bf2_dd39_007a_26ffedab3190, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IAnnoClassAdmin |
|---|
IID, IID8edd534e_c14c_4c6a_a9c9_ed2b83289b04, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IAnnoClassAdmin2 |
|---|
IID, IID388a9072_f834_4383_8d09_785d21d30d52, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IAnnoClassAdmin3 |
|---|
IID, IID79ccbb62_0b44_4be6_a0e5_904d68fef0d2, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IObjectClassExtension |
|---|
IID, IID01b7e2d1_e2ee_11d2_8a56_000000000000, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IPersistCustomFeaturesExtension |
|---|
IID, IID600811e1_2c1d_11d4_8303_0080c7e20671, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
|---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
| Constructor Summary | |
|---|---|
AnnotationFeatureClassExtension()
Constructs a AnnotationFeatureClassExtension using ArcGIS Engine. |
|
AnnotationFeatureClassExtension(java.lang.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(java.lang.Object o)
Compare this object with another |
IAnnotateLayerPropertiesCollection |
getAnnoProperties()
The labeling properties annotation classes. |
int |
getAnnotationClassIDFieldIndex()
The label class ID field index. |
static java.lang.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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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 |
release()
Release a AnnotationFeatureClassExtension. |
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 |
| Constructor Detail |
|---|
public AnnotationFeatureClassExtension()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public AnnotationFeatureClassExtension(java.lang.Object obj)
throws java.io.IOException
AnnotationFeatureClassExtension theAnnotationFeatureClassExtension = (AnnotationFeatureClassExtension) obj;
obj to AnnotationFeatureClassExtension.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void init(IClassHelper classHelper,
IPropertySet extensionProperties)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws java.io.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 IClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getFeatureClass()
throws java.io.IOException,
AutomationException
getFeatureClass in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAnnotateLayerPropertiesCollection getAnnoProperties()
throws java.io.IOException,
AutomationException
getAnnoProperties in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol(int symbolID)
throws java.io.IOException,
AutomationException
getSymbol in interface IAnnoClasssymbolID - The symbolID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
getReferenceScale in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getReferenceScaleUnits()
throws java.io.IOException,
AutomationException
getReferenceScaleUnits in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbolCollection getSymbolCollection()
throws java.io.IOException,
AutomationException
getSymbolCollection in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public short getVersion()
throws java.io.IOException,
AutomationException
getVersion in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IAnnotationFeature annoFeature,
IDisplay display,
ISymbol symbol)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementFieldIndex()
throws java.io.IOException,
AutomationException
getElementFieldIndex in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureIDFieldIndex()
throws java.io.IOException,
AutomationException
getFeatureIDFieldIndex in interface IAnnoClassjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplay getDisplay()
throws java.io.IOException,
AutomationException
getDisplay in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronizeAttributes(ITextElement pTextElement,
IAnnotationFeature pAnnoFeature)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAnnotationClassIDFieldIndex()
throws java.io.IOException,
AutomationException
getAnnotationClassIDFieldIndex in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getStatusFieldIndex()
throws java.io.IOException,
AutomationException
getStatusFieldIndex in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUpdateOnShapeChange()
throws java.io.IOException,
AutomationException
isUpdateOnShapeChange in interface IAnnoClassAdmin2isUpdateOnShapeChange in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoCreate()
throws java.io.IOException,
AutomationException
isAutoCreate in interface IAnnoClassAdminisAutoCreate in interface IAnnoClassAdmin2isAutoCreate in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRequireSymbolID()
throws java.io.IOException,
AutomationException
isRequireSymbolID in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAllowSymbolOverrides()
throws java.io.IOException,
AutomationException
isAllowSymbolOverrides in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IOverposterProperties getOverposterProperties()
throws java.io.IOException,
AutomationException
getOverposterProperties in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getLinkedFeatureClass()
throws java.io.IOException,
AutomationException
getLinkedFeatureClass in interface IAnnotationClassExtensionjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDisplay getDisplay(IElement pElement)
throws java.io.IOException,
AutomationException
getDisplay in interface IAnnotationClassExtension2pElement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoCreate(boolean flag)
throws java.io.IOException,
AutomationException
setAutoCreate in interface IAnnoClassAdminsetAutoCreate in interface IAnnoClassAdmin2setAutoCreate in interface IAnnoClassAdmin3flag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnnoProperties(IAnnotateLayerPropertiesCollection rhs1)
throws java.io.IOException,
AutomationException
setAnnoProperties in interface IAnnoClassAdminsetAnnoProperties in interface IAnnoClassAdmin2setAnnoProperties in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double rhs1)
throws java.io.IOException,
AutomationException
setReferenceScale in interface IAnnoClassAdminsetReferenceScale in interface IAnnoClassAdmin2setReferenceScale in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScaleUnits(int rhs1)
throws java.io.IOException,
AutomationException
setReferenceScaleUnits in interface IAnnoClassAdminsetReferenceScaleUnits in interface IAnnoClassAdmin2setReferenceScaleUnits in interface IAnnoClassAdmin3rhs1 - A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolCollectionByRef(ISymbolCollection rhs1)
throws java.io.IOException,
AutomationException
setSymbolCollectionByRef in interface IAnnoClassAdminsetSymbolCollectionByRef in interface IAnnoClassAdmin2setSymbolCollectionByRef in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.display.ISymbolCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateProperties()
throws java.io.IOException,
AutomationException
updateProperties in interface IAnnoClassAdminupdateProperties in interface IAnnoClassAdmin2updateProperties in interface IAnnoClassAdmin3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean confirmSendRelatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
throws java.io.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)
java.io.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 java.io.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)
java.io.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 java.io.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)
java.io.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 java.io.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)
java.io.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 java.io.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)
java.io.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 java.io.IOException,
AutomationException
setUpdateOnShapeChange in interface IAnnoClassAdmin2setUpdateOnShapeChange in interface IAnnoClassAdmin3flag - The flag (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRequireSymbolID(boolean rhs1)
throws java.io.IOException,
AutomationException
setRequireSymbolID in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAllowSymbolOverrides(boolean rhs1)
throws java.io.IOException,
AutomationException
setAllowSymbolOverrides in interface IAnnoClassAdmin3rhs1 - The rhs1 (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOverposterProperties(IOverposterProperties rhs1)
throws java.io.IOException,
AutomationException
setOverposterProperties in interface IAnnoClassAdmin3rhs1 - A reference to a com.esri.arcgis.carto.IOverposterProperties (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateFieldIndexes()
throws java.io.IOException,
AutomationException
updateFieldIndexes in interface IAnnoClassAdmin3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEditWithProjection()
throws java.io.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 IFeatureClassEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public boolean hasCustomSplitPolicyForRelationship()
throws java.io.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 IFeatureClassEditjava.io.IOException - 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 java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveClass(IStream stream)
throws java.io.IOException,
AutomationException
saveClass in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadClass(IStream stream,
boolean[] canLoad)
throws java.io.IOException,
AutomationException
loadClass in interface IPersistCustomFeaturesExtensionstream - A reference to a com.esri.arcgis.system.IStream (in)canLoad - The canLoad (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void saveFeature(IStream stream,
IFeature feature)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void loadFeature(IStream stream,
IFeature feature)
throws java.io.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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
throws java.io.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)
java.io.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 java.io.IOException,
AutomationException
onCreate in interface IObjectClassEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onDelete(IObjectClassEventsOnDeleteEvent theEvent)
throws java.io.IOException,
AutomationException
onDelete in interface IObjectClassEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onChange(IObjectClassEventsOnChangeEvent theEvent)
throws java.io.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
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.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 | ||||||||