com.esri.arcgis.schematic
Class INgProjectEventsOnMoveElementsEvent
java.lang.Object
java.util.EventObject
com.esri.arcgis.schematic.INgProjectEventsOnMoveElementsEvent
- All Implemented Interfaces:
- Serializable
public class INgProjectEventsOnMoveElementsEvent
- extends EventObject
Description
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).
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 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
INgProjectEventsOnMoveElementsEvent
public INgProjectEventsOnMoveElementsEvent(Object source)
init
public void init(INgView view,
INgElements elements,
double deltaX,
double deltaY)
getView
public final INgView getView()
getElements
public final INgElements getElements()
getDeltaX
public final double getDeltaX()
getDeltaY
public final double getDeltaY()