Interface SourceDataProviderUpdater<T>

  • Type Parameters:
    T - the bean type
    All Superinterfaces:
    Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SourceDataProviderUpdater<T>
    extends Serializable
    A handler for source grid data provider updater for GridRowDragger. Used to handle updates to the source grid's DataProvider after a drop.
    Since:
    8.2
    Author:
    Vaadin Ltd
    • Field Detail

    • Method Detail

      • removeItems

        void removeItems​(DropEffect dropEffect,
                         DataProvider<T,​?> dataProvider,
                         Collection<T> items)
        Called when Items have been dragged.
        Parameters:
        dropEffect - the reported drop effect from the drop event
        dataProvider - the data provider for the source grid
        items - dragged items.