com.vaadin.event.dd.

Interface DragSource

    • Method Detail

      • getTransferable

        Transferable getTransferable​(Map<String,​Object> rawVariables)
        Deprecated.

        DragSource may convert data added by client side component to meaningful values for server side developer or add other data based on it.

        For example Tree converts item identifiers to generated string keys for the client side. Vaadin developer don't and can't know anything about these generated keys, only about item identifiers. When tree node is dragged client puts that key to Transferables client side counterpart. In Tree.getTransferable(Map) the key is converted back to item identifier that the server side developer can use.

        Parameters:

        rawVariables - the data that client side initially included in Transferables client side counterpart.

        Returns:

        the Transferable instance that will be passed to DropHandler (and/or AcceptCriterion)

        Since:

        6.3