public interface IRelatedObjectClassEvents2
extends java.io.Serializable
The IRelatedObjectClassEvents2 interface is an optional interface that is implemented by class extensions to receive messages about objects that are changed, moved or rotated in related object classes.
RelatedObjectMoved and RelatedObjectRotated are currently reserved. A class extension implementing this interface must include these two methods, but since they will not be called, the methods should remain empty. Feature movement and rotation triggers the RelatedObjectSetMoved and RelatedObjectSetRotated methods, where functionality should be defined.
Modifier and Type | Method and Description |
---|---|
void |
relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IObject relatedObject)
Notifies this object that a related object changed.
|
void |
relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector,
IObject relatedObject)
Notifies this object that a related object moved.
|
void |
relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle,
IObject relatedObject)
Notifies this object that a related object rotated.
|
void |
relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
Notifies this object that a set of objects with relationships to the input set of objects moved.
|
void |
relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
Notifies this object that a set of objects with relationships to the input set of objects rotated.
|
void relatedObjectChanged(IRelationshipClass relationshipClass, IObject objectThatChanged, IObject relatedObject) throws java.io.IOException, AutomationException
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged
- A reference to a com.esri.arcgis.geodatabase.IObject (in)relatedObject
- 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.void relatedObjectMoved(IRelationshipClass relationshipClass, IObject objectThatChanged, ILine moveVector, IObject relatedObject) throws java.io.IOException, AutomationException
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)relatedObject
- 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.void relatedObjectSetMoved(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector) throws java.io.IOException, AutomationException
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange
- A reference to a com.esri.arcgis.system.ISet (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.void relatedObjectRotated(IRelationshipClass relationshipClass, IObject objectThatChanged, IPoint origin, double angle, IObject relatedObject) throws java.io.IOException, AutomationException
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)relatedObject
- 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.void relatedObjectSetRotated(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint origin, double angle) throws java.io.IOException, AutomationException
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange
- A reference to a com.esri.arcgis.system.ISet (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.