Package com.vaadin.flow.component.grid
Class Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.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
@Deprecated(since="25.3",
forRemoval=true)
protected static class Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.ArrayUpdater>
extends Object
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Builder for
DataCommunicator object.- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.data.provider.DataCommunicator<T> build(com.vaadin.flow.dom.Element element, com.vaadin.flow.data.provider.CompositeDataGenerator<T> dataGenerator, U arrayUpdater, com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.function.ValueProvider<T, String>> uniqueKeyProviderSupplier) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DataCommunicatorBuilder
protected DataCommunicatorBuilder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
build
@Deprecated(since="25.3", forRemoval=true) protected com.vaadin.flow.data.provider.DataCommunicator<T> build(com.vaadin.flow.dom.Element element, com.vaadin.flow.data.provider.CompositeDataGenerator<T> dataGenerator, U arrayUpdater, com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.function.ValueProvider<T, String>> uniqueKeyProviderSupplier) Deprecated, for removal: This API element is subject to removal in a future version.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
- Since:
- 2.0
-
Grid.createDataCommunicator()instead. This class and the constructors that accept it will be removed in Vaadin 26.