Package com.vaadin.shared.ui.grid
Interface GridDropTargetRpc
-
- All Superinterfaces:
Serializable
,ServerRpc
public interface GridDropTargetRpc extends ServerRpc
RPC for firing server side drop event when client side drop event happens on drop target Grid.- Since:
- 8.1
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drop(List<String> types, Map<String,String> data, String dropEffect, String rowKey, DropLocation dropLocation, MouseEventDetails mouseEventDetails)
Called when drop event happens on client side.
-
-
-
Method Detail
-
drop
void drop(List<String> types, Map<String,String> data, String dropEffect, String rowKey, DropLocation dropLocation, MouseEventDetails mouseEventDetails)
Called when drop event happens on client side.- Parameters:
types
- List of data types fromDataTransfer.types
object.data
- Map containing all types and corresponding data from theDataTransfer
object.dropEffect
- the desired drop effectrowKey
- Key of the row on which the drop event occurred.dropLocation
- Location of the drop within the row.mouseEventDetails
- Mouse event details object containing information about the drop event
-
-