com.vaadin.event.dd.
Class DragAndDropEvent
- java.lang.Object
-
- com.vaadin.event.dd.DragAndDropEvent
-
All Implemented Interfaces:
Deprecated.
Replaced in 8.1 byDropEvent
@Deprecated public class DragAndDropEvent extends Object implements Serializable
DragAndDropEvent wraps information related to drag and drop operation. It is passed by terminal implementation for
DropHandler.drop(DragAndDropEvent)
andAcceptCriterion.accept(DragAndDropEvent)
methods.DragAndDropEvent instances contains both the dragged data in
Transferable
(generated byDragSource
and details about the current drop event inTargetDetails
(generated byDropTarget
.Since:
6.3
See Also:
-
-
Constructor Summary
Constructors Constructor and Description DragAndDropEvent(Transferable transferable, TargetDetails dropTargetDetails)
Deprecated.
-
Method Summary
All Methods Modifier and Type Method and Description TargetDetails
getTargetDetails()
Deprecated.
Transferable
getTransferable()
Deprecated.
-
-
-
Constructor Detail
-
DragAndDropEvent
public DragAndDropEvent(Transferable transferable, TargetDetails dropTargetDetails)
Deprecated.
-
-
Method Detail
-
getTransferable
public Transferable getTransferable()
Deprecated.
Returns:
the Transferable instance representing the data dragged in this drag and drop event
-
getTargetDetails
public TargetDetails getTargetDetails()
Deprecated.
Returns:
the TargetDetails containing drop target related details of drag and drop operation
-
-