com.esri.arcgis.controls
Class IPageLayoutControlEventsOnOleDropEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.esri.arcgis.controls.IPageLayoutControlEventsOnOleDropEvent
All Implemented Interfaces:
Serializable

public class IPageLayoutControlEventsOnOleDropEvent
extends EventObject

Description

If the IPageLayoutControl::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 IPageLayoutControl::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 PageLayoutControl.

Remarks

Use the esriDropOver dropAction to display mouse coordinates while data is being dragged over the PageLayoutControl from another application, as the OnMouseMove event will not be triggered.

Product Availability

Available with ArcGIS Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IPageLayoutControlEventsOnOleDropEvent(Object source)
           
 
Method Summary
 int getButton()
           
 Object getDataObjectHelper()
           
 int getDropAction()
           
 int getEffect()
           
 int getShift()
           
 int getX()
           
 int getY()
           
 void init(int dropAction, Object dataObjectHelper, int[] effect, int button, int shift, int x, int y)
           
 void setEffect(int effect)
           
 
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

IPageLayoutControlEventsOnOleDropEvent

public IPageLayoutControlEventsOnOleDropEvent(Object source)
Method Detail

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()