com.esri.arcgis.geodatabase
Interface IRelatedObjectClassEvents2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IRelatedObjectClassEvents2Proxy, SoundexTableClassExtension

public interface IRelatedObjectClassEvents2
extends java.io.Serializable

Provides access to events that occur when related objects are modified.

Description

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.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


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

Method Detail

relatedObjectChanged

void relatedObjectChanged(IRelationshipClass relationshipClass,
                          IObject objectThatChanged,
                          IObject relatedObject)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object changed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

relatedObjectMoved

void relatedObjectMoved(IRelationshipClass relationshipClass,
                        IObject objectThatChanged,
                        ILine moveVector,
                        IObject relatedObject)
                        throws java.io.IOException,
                               AutomationException
Notifies this object that a related object moved.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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)
relatedObject - 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.

relatedObjectSetMoved

void relatedObjectSetMoved(IRelationshipClass relationshipClass,
                           ISet objectsThatNeedToChange,
                           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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

relatedObjectRotated

void relatedObjectRotated(IRelationshipClass relationshipClass,
                          IObject objectThatChanged,
                          IPoint origin,
                          double angle,
                          IObject relatedObject)
                          throws java.io.IOException,
                                 AutomationException
Notifies this object that a related object rotated.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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)
relatedObject - 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.

relatedObjectSetRotated

void relatedObjectSetRotated(IRelationshipClass relationshipClass,
                             ISet objectsThatNeedToChange,
                             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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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