Interface SourceDataProviderUpdater<T>

  • Type Parameters:
    T - the bean type
    All Superinterfaces:
    java.io.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 java.io.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 Summary

      Fields 
      Modifier and Type Field Description
      static SourceDataProviderUpdater NOOP
      A NOOP updater that does not do anything for the source data provider.
    • Field Detail

    • Method Detail

      • removeItems

        void removeItems​(com.vaadin.shared.ui.dnd.DropEffect dropEffect,
                         DataProvider<T,​?> dataProvider,
                         java.util.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.