Class Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.ArrayUpdater>

java.lang.Object
io.jmix.groupgridflowui.kit.vaadin.grid.Grid.DataCommunicatorBuilder<T,U>
Type Parameters:
T - the grid bean type
U - the ArrayUpdater type
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JmixGroupGrid.JmixGroupGridDataCommunicatorBuilder
Enclosing class:
Grid<T>

protected static class Grid.DataCommunicatorBuilder<T,U extends com.vaadin.flow.data.provider.ArrayUpdater> extends Object implements Serializable
Builder for DataCommunicator object.
See Also:
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Build a new DataCommunicator object for the given Grid instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DataCommunicatorBuilder

      protected DataCommunicatorBuilder()
  • Method Details

    • build

      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)
      Build a new DataCommunicator object for the given Grid instance.
      Parameters:
      element - the target grid element
      dataGenerator - the CompositeDataGenerator for the data communicator
      arrayUpdater - the ArrayUpdater for the data communicator
      uniqueKeyProviderSupplier - the unique key value provider supplier for the data communicator
      Returns:
      the build data communicator object