Interface WithValueMixin<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<V>,V,SELF extends com.vaadin.flow.component.HasValue<E,V>>

Type Parameters:
E - Event type.
V - Value type.
SELF - Self type.
All Superinterfaces:
com.vaadin.flow.component.HasValue<E,V>, Serializable
All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, CollectionField, GridMultiSelect, GridSelect, HeaderFooterFieldWrapper, ItemGrid, LabelField, MapField, ObjectField, ObservedField, SuperBigDecimalField, SuperCheckbox, SuperDatePicker, SuperDateTimePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTabs, SuperTextArea, SuperTextField, VariantField

public interface WithValueMixin<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<V>,V,SELF extends com.vaadin.flow.component.HasValue<E,V>> extends com.vaadin.flow.component.HasValue<E,V>
Mixin for chaining HasValue.setValue(Object).
Since:
2020-05-01
Author:
miki
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue

    com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
  • Method Summary

    Modifier and Type
    Method
    Description
    default SELF
    withValue(V value)
    Chains HasValue.setValue(Object) and returns itself.

    Methods inherited from interface com.vaadin.flow.component.HasValue

    addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
  • Method Details

    • withValue

      default SELF withValue(V value)
      Chains HasValue.setValue(Object) and returns itself.
      Parameters:
      value - Value to set.
      Returns:
      This.
      See Also:
      • HasValue.setValue(Object)