DropListener
and
DropTargetExtension
@Deprecated public interface VDropHandler
Modifier and Type | Method and Description |
---|---|
void |
dragEnter(VDragEvent dragEvent)
Deprecated.
Called by DragAndDropManager when a drag operation is in progress and the
cursor enters the area occupied by this Paintable.
|
void |
dragLeave(VDragEvent dragEvent)
Deprecated.
Called by DragAndDropManager when a drag operation is in progress and the
cursor leaves the area occupied by this Paintable.
|
void |
dragOver(VDragEvent currentDrag)
Deprecated.
When drag is over current drag handler.
|
boolean |
drop(VDragEvent drag)
Deprecated.
Called by DragAndDropManager when a drag operation was in progress and a
drop was performed on this Paintable.
|
ApplicationConnection |
getApplicationConnection()
Deprecated.
Returns the application connection to which this
VDropHandler
belongs to. |
ComponentConnector |
getConnector()
Deprecated.
Returns the ComponentConnector with which this DropHandler is associated.
|
void dragEnter(VDragEvent dragEvent)
dragEvent
- DragEvent which contains the transferable and other
information for the operationvoid dragLeave(VDragEvent dragEvent)
dragEvent
- DragEvent which contains the transferable and other
information for the operationboolean drop(VDragEvent drag)
drag
- VDragEvent which contains the transferable and other
information for the operationvoid dragOver(VDragEvent currentDrag)
VDragAndDropManager
will be called
when mouse is moved. HTML5 implementations call this continuously even
though mouse is not moved.currentDrag
- ComponentConnector getConnector()
ApplicationConnection getApplicationConnection()
VDropHandler
belongs to. DragAndDropManager uses this function to send Transferable to
server side.Copyright © 2018 Vaadin Ltd. All rights reserved.