Uses of Interface
com.vaadin.flow.data.provider.DataGenerator
-
Packages that use DataGenerator Package Description com.vaadin.flow.data.provider com.vaadin.flow.data.provider.hierarchy -
-
Uses of DataGenerator in com.vaadin.flow.data.provider
Classes in com.vaadin.flow.data.provider that implement DataGenerator Modifier and Type Class Description classAbstractComponentDataGenerator<T>Abstract class used as base for DataGenerators that need to manage the lifecycle of components, according to what items are requested or destroyed.classBeanDataGenerator<T>ADataGeneratorthat sends all the fields of the objects in the model to the client, using the field names as property names.classCompositeDataGenerator<T>ADataGeneratorthat aggregates multiple DataGenerators and delegates the data generation to them.Methods in com.vaadin.flow.data.provider with parameters of type DataGenerator Modifier and Type Method Description RegistrationCompositeDataGenerator. addDataGenerator(DataGenerator<T> generator)RegistrationHasDataGenerators. addDataGenerator(DataGenerator<T> generator)Adds the given data generator.Constructors in com.vaadin.flow.data.provider with parameters of type DataGenerator Constructor Description DataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode)Creates a new instance.DataCommunicator(DataGenerator<T> dataGenerator, ArrayUpdater arrayUpdater, SerializableConsumer<elemental.json.JsonArray> dataUpdater, StateNode stateNode, boolean fetchEnabled)Creates a new instance. -
Uses of DataGenerator in com.vaadin.flow.data.provider.hierarchy
Constructors in com.vaadin.flow.data.provider.hierarchy with parameters of type DataGenerator Constructor Description HierarchicalCommunicationController(String parentKey, DataKeyMapper<T> keyMapper, HierarchyMapper<T,?> mapper, DataGenerator<T> dataGenerator, SerializableFunction<Integer,HierarchicalArrayUpdater.HierarchicalUpdate> startUpdate, SerializableBiFunction<String,Range,Stream<T>> fetchItems)Constructs communication controller with support for hierarchical data structure.
-