Package com.vaadin.flow.data.provider
Interface DataProviderListener<T>
- Type Parameters:
T
- the data 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.
Data change events listener.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDataChange
(DataChangeEvent<T> event) Invoked when this listener receives a data change event from a data source to which it has been added.
-
Method Details
-
onDataChange
Invoked when this listener receives a data change event from a data source to which it has been added.This event is fired when something has changed in the underlying data. It doesn't allow to distinguish different kind of events (add/remove/update). It means that the method implementation normally just reloads the whole data to refresh.
- Parameters:
event
- the received event, not null
-