com.esri.arcgis.controls
Class IMapControlEvents2OnOleDropEvent
java.lang.Object
java.util.EventObject
com.esri.arcgis.controls.IMapControlEvents2OnOleDropEvent
- All Implemented Interfaces:
- Serializable
public class IMapControlEvents2OnOleDropEvent
- extends EventObject
Description
If the IMapControl2::OleDropEnabled property is set to False the OnOleDrop event will not be triggered, and the esriDragDropNone effect will display when data is dragged over the control.
If the IMapControl2::OleDropEnabled property is set to True the esriControlsDragDropEffect must be set each time the OnOleDrop event is triggered.
Use the esriControlsDropAction constant to determine whether the data is entering or leaving the control, or whether data is being dragged over or dropped onto the MapControl.
Remarks
Use the esriDropOver dropAction to display mouse coordinates while data is being dragged over the MapControl from another application, as the OnMouseMove event will not be triggered.
Product Availability
Available with ArcGIS Engine.
- See Also:
- Serialized Form
IMapControlEvents2OnOleDropEvent
public IMapControlEvents2OnOleDropEvent(Object source)
init
public void init(int dropAction,
Object dataObjectHelper,
int[] effect,
int button,
int shift,
int x,
int y)
getDropAction
public final int getDropAction()
getDataObjectHelper
public final Object getDataObjectHelper()
getEffect
public final int getEffect()
setEffect
public final void setEffect(int effect)
getButton
public final int getButton()
getShift
public final int getShift()
getX
public final int getX()
getY
public final int getY()