public class DragSourceEvent extends TypedEvent
DragSourceListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
TransferData |
dataType
The type of data requested.
|
int |
detail
The operation that was performed.
|
boolean |
doit
In dragStart, the doit field determines if the drag and drop operation
should proceed; in dragFinished, the doit field indicates whether
the operation was performed successfully.
|
int |
x
In dragStart, the x coordinate (relative to the control) of the
position the mouse went down to start the drag.
|
int |
y
In dragStart, the y coordinate (relative to the control) of the
position the mouse went down to start the drag .
|
data, display, time, widget
source
Constructor and Description |
---|
DragSourceEvent(org.eclipse.swt.dnd.DNDEvent e)
Constructs a new instance of this class based on the
information in the given untyped event.
|
public int detail
public boolean doit
Flag to determine if the drag and drop operation should proceed. The application can set this value to false to prevent the drag from starting. Set to true by default.
In dragFinished:
Flag to indicate if the operation was performed successfully. True if the operation was performed successfully.
public int x
public int y
public TransferData dataType
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.