Interface ItemUpdater<T,​V>

  • Type Parameters:
    T - the item type
    V - the value type
    All Superinterfaces:
    BiConsumer<T,​V>, Serializable, com.vaadin.flow.function.SerializableBiConsumer<T,​V>

    public interface ItemUpdater<T,​V>
    extends com.vaadin.flow.function.SerializableBiConsumer<T,​V>
    Callback that is called when a new value has been entered to an editor.
    • Method Detail

      • 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