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 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 from DataTransfer.dropEffect parameter.
        draggedItemKeys - Keys of the items in Grid having been dragged.