We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.
Package com.vaadin.flow.component.grid
Class Grid.DataCommunicatorBuilder<T,U extends ArrayUpdater>
java.lang.Object
com.vaadin.flow.component.grid.Grid.DataCommunicatorBuilder<T,U>
Type Parameters:
T
- the grid bean type
U
- the ArrayUpdater type
All Implemented Interfaces:
protected static class Grid.DataCommunicatorBuilder<T,U extends ArrayUpdater>
extends Object
implements Serializable
Builder for DataCommunicator
object.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DataCommunicator<T>
build
(Element element, CompositeDataGenerator<T> dataGenerator, U arrayUpdater, SerializableSupplier<ValueProvider<T, String>> uniqueKeyProviderSupplier) Build a new
DataCommunicator
object for the given Grid instance.
-
Constructor Details
-
DataCommunicatorBuilder
protected DataCommunicatorBuilder()
-
-
Method Details
-
build
protected DataCommunicator<T> build(Element element, CompositeDataGenerator<T> dataGenerator, U arrayUpdater, SerializableSupplier<ValueProvider<T, String>> uniqueKeyProviderSupplier) Build a new
DataCommunicator
object for the given Grid instance.Parameters:
element
- the target grid elementdataGenerator
- theCompositeDataGenerator
for the data communicatorarrayUpdater
- theArrayUpdater
for the data communicatoruniqueKeyProviderSupplier
- the unique key value provider supplier for the data communicatorReturns:
the build data communicator object
-