Class DropEvent
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.dnd.DropEvent
-
public class DropEvent extends Object
The alternative forDropTargetEvent
, that allow to create an instance withtout realDNDEvent
for the copy/paste action. Because thisDNDEvent
is not public and an instance of it can not be created manually.This event is needed for using DnD infrastructure for copy/paste. TODO It should be removed when the issue
G5V8DT-8095
will be done.
-
-
Field Summary
Fields Modifier and Type Field Description Object
data
a field for application use.int
detail
The operation being performed.org.eclipse.swt.widgets.Widget
item
If the associated control is a table or tree, this field contains the item located at the cursor coordinates.org.eclipse.swt.widgets.Widget
widget
the widget that issued the event.int
x
The x-cordinate of the cursor relative to theDisplay
.int
y
The y-cordinate of the cursor relative to theDisplay
.
-
-
-
Field Detail
-
x
public int x
The x-cordinate of the cursor relative to theDisplay
.
-
y
public int y
The y-cordinate of the cursor relative to theDisplay
.
-
item
public org.eclipse.swt.widgets.Widget item
If the associated control is a table or tree, this field contains the item located at the cursor coordinates.
-
data
public Object data
a field for application use.
-
widget
public org.eclipse.swt.widgets.Widget widget
the widget that issued the event.
-
detail
public int detail
The operation being performed.- See Also:
DND.DROP_NONE
,DND.DROP_MOVE
,DND.DROP_COPY
,DND.DROP_LINK
,DND.DROP_DEFAULT
-
-