com.esri.arcgis.carto
Class AnnotationFeatureClassExtension

java.lang.Object
  extended by com.esri.arcgis.carto.AnnotationFeatureClassExtension
All Implemented Interfaces:
IAnnoClass, IAnnoClassAdmin, IAnnoClassAdmin2, IAnnoClassAdmin3, IAnnotationClassExtension, IAnnotationClassExtension2, IClassExtension, IConfirmSendRelatedObjectEvents, IFeatureClassEdit, IFeatureClassExtension, IObjectClassEvents, IObjectClassExtension, IPersistCustomFeaturesExtension, IRelatedObjectClassEvents, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable, java.util.EventListener

public class AnnotationFeatureClassExtension
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IClassExtension, IAnnoClass, IAnnotationClassExtension, IAnnotationClassExtension2, IAnnoClassAdmin, IConfirmSendRelatedObjectEvents, IAnnoClassAdmin2, IAnnoClassAdmin3, IFeatureClassEdit, IFeatureClassExtension, IObjectClassExtension, IPersistCustomFeaturesExtension, IRelatedObjectClassEvents, IObjectClassEvents, ISupportErrorInfo

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 =

See Also:
Serialized Form

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

AnnotationFeatureClassExtension

public AnnotationFeatureClassExtension()
                                throws java.io.IOException,
                                       java.net.UnknownHostException
Constructs a AnnotationFeatureClassExtension using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

AnnotationFeatureClassExtension

public AnnotationFeatureClassExtension(java.lang.Object obj)
                                throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AnnotationFeatureClassExtension theAnnotationFeatureClassExtension = (AnnotationFeatureClassExtension) obj;

Construct a AnnotationFeatureClassExtension using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to AnnotationFeatureClassExtension.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a AnnotationFeatureClassExtension.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

init

public void init(IClassHelper classHelper,
                 IPropertySet extensionProperties)
          throws java.io.IOException,
                 AutomationException
Initializes the extension, passing in a reference to its class helper.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
init in interface IClassExtension
Parameters:
classHelper - A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)
extensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

shutdown

public void shutdown()
              throws java.io.IOException,
                     AutomationException
Informs the extension that its class helper is going away.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
shutdown in interface IClassExtension
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureClass

public IFeatureClass getFeatureClass()
                              throws java.io.IOException,
                                     AutomationException
The feature class.

Specified by:
getFeatureClass in interface IAnnoClass
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAnnoProperties

public IAnnotateLayerPropertiesCollection getAnnoProperties()
                                                     throws java.io.IOException,
                                                            AutomationException
The labeling properties annotation classes.

Specified by:
getAnnoProperties in interface IAnnoClass
Returns:
A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbol

public ISymbol getSymbol(int symbolID)
                  throws java.io.IOException,
                         AutomationException
The symbol associated with the given ID.

Specified by:
getSymbol in interface IAnnoClass
Parameters:
symbolID - The symbolID (in)
Returns:
A reference to a com.esri.arcgis.display.ISymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReferenceScale

public double getReferenceScale()
                         throws java.io.IOException,
                                AutomationException
The reference scale.

Specified by:
getReferenceScale in interface IAnnoClass
Returns:
The referenceScale
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getReferenceScaleUnits

public int getReferenceScaleUnits()
                           throws java.io.IOException,
                                  AutomationException
The units of the reference scale.

Specified by:
getReferenceScaleUnits in interface IAnnoClass
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSymbolCollection

public ISymbolCollection getSymbolCollection()
                                      throws java.io.IOException,
                                             AutomationException
The symbol collection.

Specified by:
getSymbolCollection in interface IAnnoClass
Returns:
A reference to a com.esri.arcgis.display.ISymbolCollection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public short getVersion()
                 throws java.io.IOException,
                        AutomationException
The version of the annotation class.

Specified by:
getVersion in interface IAnnoClass
Returns:
The version
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

public void draw(IAnnotationFeature annoFeature,
                 IDisplay display,
                 ISymbol symbol)
          throws java.io.IOException,
                 AutomationException
Draws the given annotation feature.

Specified by:
draw in interface IAnnoClass
Parameters:
annoFeature - 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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementFieldIndex

public int getElementFieldIndex()
                         throws java.io.IOException,
                                AutomationException
The element field index.

Specified by:
getElementFieldIndex in interface IAnnoClass
Returns:
The elementFieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFeatureIDFieldIndex

public int getFeatureIDFieldIndex()
                           throws java.io.IOException,
                                  AutomationException
The feature ID field index.

Specified by:
getFeatureIDFieldIndex in interface IAnnoClass
Returns:
The featureIDFieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplay

public IDisplay getDisplay()
                    throws java.io.IOException,
                           AutomationException
The display.

Specified by:
getDisplay in interface IAnnotationClassExtension
Returns:
A reference to a com.esri.arcgis.display.IDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronizeAttributes

public void synchronizeAttributes(ITextElement pTextElement,
                                  IAnnotationFeature pAnnoFeature)
                           throws java.io.IOException,
                                  AutomationException
Sync the attributes.

Specified by:
synchronizeAttributes in interface IAnnotationClassExtension
Parameters:
pTextElement - A reference to a com.esri.arcgis.carto.ITextElement (in)
pAnnoFeature - A reference to a com.esri.arcgis.carto.IAnnotationFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAnnotationClassIDFieldIndex

public int getAnnotationClassIDFieldIndex()
                                   throws java.io.IOException,
                                          AutomationException
The label class ID field index.

Specified by:
getAnnotationClassIDFieldIndex in interface IAnnotationClassExtension
Returns:
The annotationClassIDFieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatusFieldIndex

public int getStatusFieldIndex()
                        throws java.io.IOException,
                               AutomationException
The status field index.

Specified by:
getStatusFieldIndex in interface IAnnotationClassExtension
Returns:
The statusFieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUpdateOnShapeChange

public boolean isUpdateOnShapeChange()
                              throws java.io.IOException,
                                     AutomationException
Indicates if an annotation is to be automatically recreated when a feature's shape is changed.

Specified by:
isUpdateOnShapeChange in interface IAnnoClassAdmin2
Specified by:
isUpdateOnShapeChange in interface IAnnotationClassExtension
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAutoCreate

public boolean isAutoCreate()
                     throws java.io.IOException,
                            AutomationException
Indicates if an annotation is to be automatically created when a feature is created.

Specified by:
isAutoCreate in interface IAnnoClassAdmin
Specified by:
isAutoCreate in interface IAnnoClassAdmin2
Specified by:
isAutoCreate in interface IAnnotationClassExtension
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRequireSymbolID

public boolean isRequireSymbolID()
                          throws java.io.IOException,
                                 AutomationException
Indicates if an annotation must belong to a symbol in the symbol collection.

Specified by:
isRequireSymbolID in interface IAnnotationClassExtension
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowSymbolOverrides

public boolean isAllowSymbolOverrides()
                               throws java.io.IOException,
                                      AutomationException
Indicates if an annotation may override a symbol property even though it references the symbol collection.

Specified by:
isAllowSymbolOverrides in interface IAnnotationClassExtension
Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOverposterProperties

public IOverposterProperties getOverposterProperties()
                                              throws java.io.IOException,
                                                     AutomationException
The overposter properties.

Specified by:
getOverposterProperties in interface IAnnotationClassExtension
Returns:
A reference to a com.esri.arcgis.carto.IOverposterProperties
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLinkedFeatureClass

public IFeatureClass getLinkedFeatureClass()
                                    throws java.io.IOException,
                                           AutomationException
The feature class to which the annotation class is feature linked.

Specified by:
getLinkedFeatureClass in interface IAnnotationClassExtension
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplay

public IDisplay getDisplay(IElement pElement)
                    throws java.io.IOException,
                           AutomationException
The display based on the given element.

Specified by:
getDisplay in interface IAnnotationClassExtension2
Parameters:
pElement - A reference to a com.esri.arcgis.carto.IElement (in)
Returns:
A reference to a com.esri.arcgis.display.IDisplay
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAutoCreate

public void setAutoCreate(boolean flag)
                   throws java.io.IOException,
                          AutomationException
Indicates if an annotation is to be automatically created when a feature is created.

Specified by:
setAutoCreate in interface IAnnoClassAdmin
Specified by:
setAutoCreate in interface IAnnoClassAdmin2
Specified by:
setAutoCreate in interface IAnnoClassAdmin3
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAnnoProperties

public void setAnnoProperties(IAnnotateLayerPropertiesCollection rhs1)
                       throws java.io.IOException,
                              AutomationException
The labeling properties annotation class.

Specified by:
setAnnoProperties in interface IAnnoClassAdmin
Specified by:
setAnnoProperties in interface IAnnoClassAdmin2
Specified by:
setAnnoProperties in interface IAnnoClassAdmin3
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReferenceScale

public void setReferenceScale(double rhs1)
                       throws java.io.IOException,
                              AutomationException
The reference scale.

Specified by:
setReferenceScale in interface IAnnoClassAdmin
Specified by:
setReferenceScale in interface IAnnoClassAdmin2
Specified by:
setReferenceScale in interface IAnnoClassAdmin3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReferenceScaleUnits

public void setReferenceScaleUnits(int rhs1)
                            throws java.io.IOException,
                                   AutomationException
The units of the reference scale.

Specified by:
setReferenceScaleUnits in interface IAnnoClassAdmin
Specified by:
setReferenceScaleUnits in interface IAnnoClassAdmin2
Specified by:
setReferenceScaleUnits in interface IAnnoClassAdmin3
Parameters:
rhs1 - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSymbolCollectionByRef

public void setSymbolCollectionByRef(ISymbolCollection rhs1)
                              throws java.io.IOException,
                                     AutomationException
The symbol collection.

Specified by:
setSymbolCollectionByRef in interface IAnnoClassAdmin
Specified by:
setSymbolCollectionByRef in interface IAnnoClassAdmin2
Specified by:
setSymbolCollectionByRef in interface IAnnoClassAdmin3
Parameters:
rhs1 - A reference to a com.esri.arcgis.display.ISymbolCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateProperties

public void updateProperties()
                      throws java.io.IOException,
                             AutomationException
Updates the property set.

Specified by:
updateProperties in interface IAnnoClassAdmin
Specified by:
updateProperties in interface IAnnoClassAdmin2
Specified by:
updateProperties in interface IAnnoClassAdmin3
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

confirmSendRelatedObjectChanged

public boolean confirmSendRelatedObjectChanged(IRelationshipClass relationshipClass,
                                               IObject objectThatChanged)
                                        throws java.io.IOException,
                                               AutomationException
Notifies this object that a related object changed and asks if events should be sent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
confirmSendRelatedObjectChanged in interface IConfirmSendRelatedObjectEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Returns:
The doSend
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

confirmSendRelatedObjectMoved

public boolean confirmSendRelatedObjectMoved(IRelationshipClass relationshipClass,
                                             IObject objectThatChanged,
                                             ILine moveVector)
                                      throws java.io.IOException,
                                             AutomationException
Notifies this object that a related object moved and asks if events should be sent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
confirmSendRelatedObjectMoved in interface IConfirmSendRelatedObjectEvents
Parameters:
relationshipClass - 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)
Returns:
The doSend
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

confirmSendRelatedObjectSetMoved

public boolean confirmSendRelatedObjectSetMoved(IRelationshipClass relationshipClass,
                                                ISet objectsThatChanged,
                                                ILine moveVector)
                                         throws java.io.IOException,
                                                AutomationException
Notifies this object that a set of objects with relationships to the input set of objects moved and asks if events should be sent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
confirmSendRelatedObjectSetMoved in interface IConfirmSendRelatedObjectEvents
Parameters:
relationshipClass - 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)
Returns:
The doSend
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

confirmSendRelatedObjectRotated

public boolean confirmSendRelatedObjectRotated(IRelationshipClass relationshipClass,
                                               IObject objectThatChanged,
                                               IPoint origin,
                                               double angle)
                                        throws java.io.IOException,
                                               AutomationException
Notifies this object that a related object rotated and asks if events should be sent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
confirmSendRelatedObjectRotated in interface IConfirmSendRelatedObjectEvents
Parameters:
relationshipClass - 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)
Returns:
The doSend
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

confirmSendRelatedObjectSetRotated

public boolean confirmSendRelatedObjectSetRotated(IRelationshipClass relationshipClass,
                                                  ISet objectsThatChanged,
                                                  IPoint origin,
                                                  double angle)
                                           throws java.io.IOException,
                                                  AutomationException
Notifies this object that a set of objects with relationships to the input set of objects rotated and asks if events should be sent.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
confirmSendRelatedObjectSetRotated in interface IConfirmSendRelatedObjectEvents
Parameters:
relationshipClass - 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)
Returns:
The doSend
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

setUpdateOnShapeChange

public void setUpdateOnShapeChange(boolean flag)
                            throws java.io.IOException,
                                   AutomationException
Indicates if an annotation is to be automatically recreated when a feature's shape is changed.

Specified by:
setUpdateOnShapeChange in interface IAnnoClassAdmin2
Specified by:
setUpdateOnShapeChange in interface IAnnoClassAdmin3
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRequireSymbolID

public void setRequireSymbolID(boolean rhs1)
                        throws java.io.IOException,
                               AutomationException
Indicates an annotation must belong to a symbol in the symbol collection.

Specified by:
setRequireSymbolID in interface IAnnoClassAdmin3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowSymbolOverrides

public void setAllowSymbolOverrides(boolean rhs1)
                             throws java.io.IOException,
                                    AutomationException
Indicates if an annotation may override a symbol property even though it references the symbol collection.

Specified by:
setAllowSymbolOverrides in interface IAnnoClassAdmin3
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOverposterProperties

public void setOverposterProperties(IOverposterProperties rhs1)
                             throws java.io.IOException,
                                    AutomationException
The overposter properties.

Specified by:
setOverposterProperties in interface IAnnoClassAdmin3
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IOverposterProperties (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateFieldIndexes

public void updateFieldIndexes()
                        throws java.io.IOException,
                               AutomationException
Updates the indexes of the fields that expose the annotation properties.

Specified by:
updateFieldIndexes in interface IAnnoClassAdmin3
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanEditWithProjection

public boolean isCanEditWithProjection()
                                throws java.io.IOException,
                                       AutomationException
Indicates if the associated feature class can be edited in projected spaces.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCanEditWithProjection in interface IFeatureClassEdit
Returns:
The isEditable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

hasCustomSplitPolicyForRelationship

public boolean hasCustomSplitPolicyForRelationship()
                                            throws java.io.IOException,
                                                   AutomationException
True if the feature class has a custom split policy for handling relationships.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
hasCustomSplitPolicyForRelationship in interface IFeatureClassEdit
Returns:
The hasCustomPolicy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

getCustomSplitPolicyForRelationship

public int getCustomSplitPolicyForRelationship(IRow row,
                                               IRelationshipClass relClass)
                                        throws java.io.IOException,
                                               AutomationException
The custom split policy for handling relationships.

Product Availability

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

Specified by:
getCustomSplitPolicyForRelationship in interface IFeatureClassEdit
Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
relClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
Returns:
A com.esri.arcgis.geodatabase.esriRelationshipSplitPolicy constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveClass

public void saveClass(IStream stream)
               throws java.io.IOException,
                      AutomationException
Writes out to the stream, class information used to aid loading.

Specified by:
saveClass in interface IPersistCustomFeaturesExtension
Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadClass

public void loadClass(IStream stream,
                      boolean[] canLoad)
               throws java.io.IOException,
                      AutomationException
Looks at the class information and determines if it can load the features.

Specified by:
loadClass in interface IPersistCustomFeaturesExtension
Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
canLoad - The canLoad (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveFeature

public void saveFeature(IStream stream,
                        IFeature feature)
                 throws java.io.IOException,
                        AutomationException
Writes out to the stream, feature infomation used to aid loading.

Specified by:
saveFeature in interface IPersistCustomFeaturesExtension
Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFeature

public void loadFeature(IStream stream,
                        IFeature feature)
                 throws java.io.IOException,
                        AutomationException
Loads the feature information and updates the feature.

Specified by:
loadFeature in interface IPersistCustomFeaturesExtension
Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

relatedObjectCreated

public void relatedObjectCreated(IRelationshipClass relationshipClass,
                                 IObject objectThatWasCreated)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object class that a related object was created.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
relatedObjectCreated in interface IRelatedObjectClassEvents
Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatWasCreated - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

onCreate

public void onCreate(IObjectClassEventsOnCreateEvent theEvent)
              throws java.io.IOException,
                     AutomationException
This event is fired when a new object is created in the object class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onCreate in interface IObjectClassEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onDelete

public void onDelete(IObjectClassEventsOnDeleteEvent theEvent)
              throws java.io.IOException,
                     AutomationException
This event is fired when an object is deleted from the object class.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onDelete in interface IObjectClassEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onChange

public void onChange(IObjectClassEventsOnChangeEvent theEvent)
              throws java.io.IOException,
                     AutomationException
This event is fired when an object's attributes or geometry is updated.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
onChange in interface IObjectClassEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.