com.vaadin.ui.components.grid.

Class GridDropEvent<T>

    • Constructor Detail

      • GridDropEvent

        public GridDropEvent​(Grid<T> target,
                             Map<String,​String> data,
                             DropEffect dropEffect,
                             DragSourceExtension<? extends AbstractComponent> dragSourceExtension,
                             T dropTargetRow,
                             DropLocation dropLocation,
                             MouseEventDetails mouseEventDetails)

        Creates a Grid row drop event.

        Parameters:

        target - Grid that received the drop.

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

        dropEffect - the desired drop effect

        dragSourceExtension - Drag source extension of the component that initiated the drop event.

        dropTargetRow - Target row that received the drop, or null if dropped on empty grid or DropMode.ON_GRID is used

        dropLocation - Location of the drop within the target row.

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