com.vaadin.flow.component.gridpro.

Interface ItemUpdater<T,V>

Type Parameters:

T - the item type

V - the value type

All Superinterfaces:

BiConsumer<T,V>, Serializable, SerializableBiConsumer<T,V>

public interface ItemUpdater<T,V> extends SerializableBiConsumer<T,V>

Callback that is called when a new value has been entered to an editor.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T item, V newValue)

    Called when a new value has been entered to an editor for an item.

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Method Details

    • accept

      void accept(T item, V newValue)

      Called when a new value has been entered to an editor for an item.

      Specified by:

      accept in interface BiConsumer<T,V>

      Parameters:

      item - the instance of the item

      newValue - the new value of the property