Package com.vaadin.ui.components.grid
Interface TargetDataProviderUpdater<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 TargetDataProviderUpdater<T> extends java.io.SerializableA handler for target grid data provider updater forGridRowDragger. Used to handle updates to the target grid'sDataProviderafter a drop.- Since:
- 8.2
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDrop(com.vaadin.shared.ui.dnd.DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, java.util.Collection<T> items)Called when items have been dropped on the target Grid.
-
-
-
Method Detail
-
onDrop
void onDrop(com.vaadin.shared.ui.dnd.DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, java.util.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_VALUEis 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.
-
-