com.esri.arcgis.schematic
Interface ISchematicRelationControllerEvent

All Superinterfaces:
Serializable
All Known Implementing Classes:
SchematicRelationController

public interface ISchematicRelationControllerEvent
extends Serializable

Provides access to events that occur on the schematic relation controller when graphic element are moved.

Product Availability

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


Method Summary
 void onMoveElements(INgView view, INgElements elements, double deltaX, double deltaY)
          Fires when the user moves a set of graphic elements with the mouse in any graphic view.
 

Method Detail

onMoveElements

void onMoveElements(INgView view,
                    INgElements elements,
                    double deltaX,
                    double deltaY)
                    throws IOException,
                           AutomationException
Fires when the user moves a set of graphic elements with the mouse in any graphic view.

Remarks

When elements are moved by programming using any "Move" method, the custom code specified on this event will be not fired. The OnMoveElements event is only triggered when containers are moved using the GUI tools; that is when end-users move containers using the mouse or the keyboard arrows. So if there are schematic relations as containers between schematics objects contained in a schematic diagram and you develop custom code that use any "Move" method, programming the relations redraw on the ISchematicRelationControllerEvent::OnMoveElements will be completely unuseful. In this case, you must force the relations redraw at the end of the move operations sequence in your custom procedure or customize the SchematicAlgorithmEvents::AfterExecuteAlgorithm event (when the "Move" methods are called during a custom algorithm).

Product Availability

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

Parameters:
view - A reference to a com.esri.arcgis.schematic.INgView (in)
elements - A reference to a com.esri.arcgis.schematic.INgElements (in)
deltaX - The deltaX (in)
deltaY - The deltaY (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.