Package com.vaadin.shared.ui.grid
Interface GridDragSourceRpc
-
- All Superinterfaces:
Serializable
,ServerRpc
public interface GridDragSourceRpc extends ServerRpc
RPC for firing server side drag start and drag end events when the corresponding client side events happen on the drag source Grid.- Since:
- 8.1
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dragEnd(DropEffect dropEffect, List<String> draggedItemKeys)
Called when dragend event happens on client side.void
dragStart(List<String> draggedItemKeys)
Called when dragstart event happens on client side.
-
-
-
Method Detail
-
dragStart
void dragStart(List<String> draggedItemKeys)
Called when dragstart event happens on client side.- Parameters:
draggedItemKeys
- Keys of the items in Grid being dragged.
-
dragEnd
void dragEnd(DropEffect dropEffect, List<String> draggedItemKeys)
Called when dragend event happens on client side.- Parameters:
dropEffect
- Drop effect of the dragend event, extracted fromDataTransfer.dropEffect
parameter.draggedItemKeys
- Keys of the items in Grid having been dragged.
-
-