Package com.vaadin.ui.components.grid
Interface TargetDataProviderUpdater<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 TargetDataProviderUpdater<T> extends Serializable
A handler for target grid data provider updater forGridRowDragger
. Used to handle updates to the target grid'sDataProvider
after a drop.- Since:
- 8.2
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onDrop(DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, Collection<T> items)
Called when items have been dropped on the target Grid.
-
-
-
Method Detail
-
onDrop
void onDrop(DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, Collection<T> items)
Called when items have been dropped on the target Grid.- Parameters:
dropEffect
- the reported drop effect from the drop eventdataProvider
- the target grid data providerindex
- the target index,Integer.MAX_VALUE
is used for dropping things always to the end of the grid without having to fetch the size of the data provideritems
- items to be added.
-
-