Package com.vaadin.ui.components.grid
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 forGridRowDragger. Used to handle updates to the source grid'sDataProviderafter a drop.- Since:
- 8.2
- Author:
- Vaadin Ltd
-
-
Field Summary
Fields Modifier and Type Field Description static SourceDataProviderUpdaterNOOPA NOOP updater that does not do anything for the source data provider.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveItems(DropEffect dropEffect, DataProvider<T,?> dataProvider, Collection<T> items)Called when Items have been dragged.
-
-
-
Field Detail
-
NOOP
static final SourceDataProviderUpdater NOOP
A NOOP updater that does not do anything for the source data provider.
-
-
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 eventdataProvider- the data provider for the source griditems- dragged items.
-
-