DragEvent Class

DragEvent Class

This Package | All Packages

Event
  |
  +--DragEvent
public class DragEvent
extends Event

The DragEvent is fired in response to drag-and-drop events in a control.

Fields
Name Description
data The data associated with this event.
effect The effect that should be applied to the mouse cursor.
keyState The current state of the SHIFT, CTRL, and ALT keys.
x The x-coordinate location of the mouse.
y The y-coordinate location of the mouse.

Constructors
Name Description
DragEvent(IDataObject data, int keyState, int x, int y, int effect) Topic under construction.

Fields

DragEvent.data

Syntax
public final IDataObject data;
Description
The data associated with this event.

DragEvent.effect

Syntax
public int effect;
Description
The effect that should be applied to the mouse cursor.

DragEvent.keyState

Syntax
public final int keyState;
Description
The current state of the SHIFT, CTRL, and ALT keys.

DragEvent.x

Syntax
public final int x;
Description
The x-coordinate location of the mouse.

DragEvent.y

Syntax
public final int y;
Description
The y-coordinate location of the mouse.

Constructors

DragEvent.DragEvent

Syntax
public DragEvent( IDataObject data, int keyState, int x, int y, int effect );
Description

Topic under construction.