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 typeU- the ArrayUpdater type
- All Implemented Interfaces:
Serializable
protected static class Grid.DataCommunicatorBuilder<T,U extends ArrayUpdater> extends Object implements Serializable
Builder forDataCommunicatorobject.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataCommunicatorBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DataCommunicator<T>build(Element element, CompositeDataGenerator<T> dataGenerator, U arrayUpdater, SerializableSupplier<ValueProvider<T,String>> uniqueKeyProviderSupplier)Build a newDataCommunicatorobject for the given Grid instance.
-
-
-
Method Detail
-
build
protected DataCommunicator<T> build(Element element, CompositeDataGenerator<T> dataGenerator, U arrayUpdater, SerializableSupplier<ValueProvider<T,String>> uniqueKeyProviderSupplier)
Build a newDataCommunicatorobject for the given Grid instance.- Parameters:
element- the target grid elementdataGenerator- theCompositeDataGeneratorfor the data communicatorarrayUpdater- theArrayUpdaterfor the data communicatoruniqueKeyProviderSupplier- the unique key value provider supplier for the data communicator- Returns:
- the build data communicator object
-
-