com.vaadin.shared.ui.dnd.

Interface DropTargetRpc

  • All Superinterfaces:

    Serializable, ServerRpc

    public interface DropTargetRpc
    extends ServerRpc

    RPC for firing server side drop event when client side drop event happens on drop target.

    Since:

    8.1

    Author:

    Vaadin Ltd

    • Method Detail

      • drop

        void drop​(List<String> types,
                  Map<String,​String> data,
                  String dropEffect,
                  MouseEventDetails mouseEventDetails)

        Called when drop event happens on client side.

        Parameters:

        types - List of data types from DataTransfer.types object.

        data - Map containing all types and corresponding data from the DataTransfer object.

        dropEffect - The desired drop effect.

        mouseEventDetails - mouse event details object containing information about the drop event