Class INgProjectEventsOnMoveElementsEvent

  extended by java.util.EventObject
      extended by com.esri.arcgis.schematic.INgProjectEventsOnMoveElementsEvent
All Implemented Interfaces:

public class INgProjectEventsOnMoveElementsEvent
extends EventObject


The event procedure returns the deltaX and deltaY parameter values that specify the horizontal and vertical translation distance applied to the moved elements (as calculated in user coordinates).


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 schematic elements are moved using the GUI tools; that is when end-users move schematic elements 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 INgProjectEvents::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.

See Also:
INgProjectEvents.onDropElements(com.esri.arcgis.schematic.INgProjectEventsOnDropElementsEvent), Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
Constructor Summary
INgProjectEventsOnMoveElementsEvent(Object source)
Method Summary
 double getDeltaX()
 double getDeltaY()
 INgElements getElements()
 INgView getView()
 void init(INgView view, INgElements elements, double deltaX, double deltaY)
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public INgProjectEventsOnMoveElementsEvent(Object source)
Method Detail


public void init(INgView view,
                 INgElements elements,
                 double deltaX,
                 double deltaY)


public final INgView getView()


public final INgElements getElements()


public final double getDeltaX()


public final double getDeltaY()