com.vaadin.shared.ui.treegrid.

Interface TreeGridDropTargetRpc

  • All Superinterfaces:

    Serializable, ServerRpc

    public interface TreeGridDropTargetRpc
    extends ServerRpc

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

    Since:

    8.1

    Author:

    Vaadin Ltd.

    • Method Detail

      • drop

        void drop​(List<String> types,
                  Map<String,​String> data,
                  String dropEffect,
                  String rowKey,
                  Integer depth,
                  Boolean collapsed,
                  DropLocation dropLocation,
                  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

        rowKey - key of the row on which the drop event occurred

        depth - depth of the row in the hierarchy

        collapsed - whether the target row is collapsed

        dropLocation - location of the drop within the row

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