Uses of Interface
com.vaadin.flow.component.HasValue
-
-
Uses of HasValue in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine with parameters of type HasValue Modifier and Type Method Description <FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>CollaborationBinder. bind(HasValue<?,FIELDVALUE> field, ValueProvider<BEAN,FIELDVALUE> getter, Setter<BEAN,FIELDVALUE> setter)
Deprecated.The method does not work with the collaboration binder.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>CollaborationBinder. bind(HasValue<?,FIELDVALUE> field, String propertyName)
Binds the given field to the property with the given name, as described inBinder.bind(HasValue, String)
.protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>CollaborationBinder. doCreateBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)
<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field)
Creates a new binding for the given field.<FIELDVALUE extends Collection<ELEMENT>,ELEMENT>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field, Class<? super FIELDVALUE> collectionType, Class<ELEMENT> elementType)
Creates a new binding for the given (multi select) field whose value type is a collection.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forField(HasValue<?,FIELDVALUE> field, Class<FIELDVALUE> fieldType)
Creates a new binding for the given field and type.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field)
Creates a new binding for the given field.<FIELDVALUE extends Collection<ELEMENT>,ELEMENT>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field, Class<? super FIELDVALUE> collectionType, Class<ELEMENT> elementType)
Creates a new binding for the given (multi select) field whose value type is a collection.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>CollaborationBinder. forMemberField(HasValue<?,FIELDVALUE> field, Class<FIELDVALUE> fieldType)
Creates a new binding for the given field and type.Constructors in com.vaadin.collaborationengine with parameters of type HasValue Constructor Description CollaborationBindingBuilderImpl(CollaborationBinder<BEAN> binder, HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converterValidatorChain, BindingValidationStatusHandler statusHandler)
-
Uses of HasValue in com.vaadin.flow.component
Subinterfaces of HasValue in com.vaadin.flow.component Modifier and Type Interface Description interface
HasValueAndElement<E extends HasValue.ValueChangeEvent<V>,V>
A component that has a value.Classes in com.vaadin.flow.component that implement HasValue Modifier and Type Class Description class
AbstractCompositeField<C extends Component,S extends AbstractCompositeField<C,S,T>,T>
An abstract field class that is backed by a composite component.class
AbstractField<C extends AbstractField<C,T>,T>
An abstract implementation of a field, or aComponent
allowing user input.class
AbstractSinglePropertyField<C extends AbstractField<C,T>,T>
Abstract field that is based on a single element property.Methods in com.vaadin.flow.component that return HasValue Modifier and Type Method Description HasValue<?,V>
AbstractField.ComponentValueChangeEvent. getHasValue()
HasValue<?,V>
HasValue.ValueChangeEvent. getHasValue()
Constructors in com.vaadin.flow.component with parameters of type HasValue Constructor Description ComponentValueChangeEvent(C source, HasValue<?,V> hasValue, V oldValue, boolean fromClient)
Creates a new component value change event. -
Uses of HasValue in com.vaadin.flow.component.checkbox
Classes in com.vaadin.flow.component.checkbox that implement HasValue Modifier and Type Class Description class
Checkbox
Server-side component for thevaadin-checkbox
element.class
CheckboxGroup<T>
Server-side component for thevaadin-checkbox-group
element.class
GeneratedVaadinCheckbox<R extends GeneratedVaadinCheckbox<R,T>,T>
Description copied from corresponding location in WebComponent:class
GeneratedVaadinCheckboxGroup<R extends GeneratedVaadinCheckboxGroup<R,T>,T>
Description copied from corresponding location in WebComponent: -
Uses of HasValue in com.vaadin.flow.component.combobox
Classes in com.vaadin.flow.component.combobox that implement HasValue Modifier and Type Class Description class
ComboBox<T>
Server-side component for thevaadin-combo-box
webcomponent.class
GeneratedVaadinComboBox<R extends GeneratedVaadinComboBox<R,T>,T>
Description copied from corresponding location in WebComponent: -
Uses of HasValue in com.vaadin.flow.component.customfield
Classes in com.vaadin.flow.component.customfield that implement HasValue Modifier and Type Class Description class
CustomField<T>
AHasValue
whose UI content can be constructed by the user, enabling the creation of e.g. -
Uses of HasValue in com.vaadin.flow.component.datepicker
Classes in com.vaadin.flow.component.datepicker that implement HasValue Modifier and Type Class Description class
DatePicker
Server-side component that encapsulates the functionality of thevaadin-date-picker
webcomponent.class
GeneratedVaadinDatePicker<R extends GeneratedVaadinDatePicker<R,T>,T>
Description copied from corresponding location in WebComponent: -
Uses of HasValue in com.vaadin.flow.component.datetimepicker
Classes in com.vaadin.flow.component.datetimepicker that implement HasValue Modifier and Type Class Description class
DateTimePicker
Server-side component that encapsulates the functionality of thevaadin-date-time-picker
web component. -
Uses of HasValue in com.vaadin.flow.component.html
Classes in com.vaadin.flow.component.html that implement HasValue Modifier and Type Class Description class
Input
Component representing an<input>
element. -
Uses of HasValue in com.vaadin.flow.component.internal
Classes in com.vaadin.flow.component.internal with type parameters of type HasValue Modifier and Type Class Description class
AbstractFieldSupport<C extends Component & HasValue<AbstractField.ComponentValueChangeEvent<C,T>,T>,T>
Encapsulates all the logic required for a typical field implementation. -
Uses of HasValue in com.vaadin.flow.component.listbox
Classes in com.vaadin.flow.component.listbox that implement HasValue Modifier and Type Class Description class
ListBox<T>
Server-side component for thevaadin-list-box
element.class
ListBoxBase<C extends ListBoxBase<C,ITEM,VALUE>,ITEM,VALUE>
Base class for theListBox
andMultiSelectListBox
.class
MultiSelectListBox<T>
Server-side component for thevaadin-list-box
element with multi-selection. -
Uses of HasValue in com.vaadin.flow.component.radiobutton
Classes in com.vaadin.flow.component.radiobutton that implement HasValue Modifier and Type Class Description class
GeneratedVaadinRadioGroup<R extends GeneratedVaadinRadioGroup<R,T>,T>
Description copied from corresponding location in WebComponent:class
RadioButtonGroup<T>
A single select component using radio buttons as options. -
Uses of HasValue in com.vaadin.flow.component.richtexteditor
Classes in com.vaadin.flow.component.richtexteditor that implement HasValue Modifier and Type Class Description class
GeneratedVaadinRichTextEditor<R extends GeneratedVaadinRichTextEditor<R,T>,T>
Description copied from corresponding location in WebComponent:class
RichTextEditor
Server-side component for the<vaadin-rich-text-editor>
component.Methods in com.vaadin.flow.component.richtexteditor that return HasValue Modifier and Type Method Description HasValue<HasValue.ValueChangeEvent<String>,String>
RichTextEditor. asHtml()
Gets an instance ofHasValue
for binding the html value of the editor withBinder
. -
Uses of HasValue in com.vaadin.flow.component.select
Classes in com.vaadin.flow.component.select that implement HasValue Modifier and Type Class Description class
Select<T>
A customizable drop-down select component similar to a native browser select. -
Uses of HasValue in com.vaadin.flow.component.select.generated
Classes in com.vaadin.flow.component.select.generated that implement HasValue Modifier and Type Class Description class
GeneratedVaadinSelect<R extends GeneratedVaadinSelect<R,T>,T>
Description copied from corresponding location in WebComponent: -
Uses of HasValue in com.vaadin.flow.component.textfield
Classes in com.vaadin.flow.component.textfield that implement HasValue Modifier and Type Class Description class
AbstractNumberField<C extends AbstractNumberField<C,T>,T extends Number>
Abstract base class for components based onvaadin-number-field
element and its subclasses.class
BigDecimalField
Server-side component for thevaadin-big-decimal-field
element.class
EmailField
Server-side component for thevaadin-email-field
element.class
GeneratedVaadinEmailField<R extends GeneratedVaadinEmailField<R,T>,T>
Description copied from corresponding location in WebComponent:class
GeneratedVaadinNumberField<R extends GeneratedVaadinNumberField<R,T>,T>
Description copied from corresponding location in WebComponent:class
GeneratedVaadinPasswordField<R extends GeneratedVaadinPasswordField<R,T>,T>
Description copied from corresponding location in WebComponent:class
GeneratedVaadinTextArea<R extends GeneratedVaadinTextArea<R,T>,T>
Description copied from corresponding location in WebComponent:class
GeneratedVaadinTextField<R extends GeneratedVaadinTextField<R,T>,T>
Description copied from corresponding location in WebComponent:class
IntegerField
Server-side component for thevaadin-integer-field
element.class
NumberField
Server-side component for thevaadin-number-field
element.class
PasswordField
Server-side component for thevaadin-password-field
element.class
TextArea
Server-side component for thevaadin-text-area
element.class
TextField
Server-side component for thevaadin-text-field
element. -
Uses of HasValue in com.vaadin.flow.component.timepicker
Classes in com.vaadin.flow.component.timepicker that implement HasValue Modifier and Type Class Description class
GeneratedVaadinTimePicker<R extends GeneratedVaadinTimePicker<R,T>,T>
Description copied from corresponding location in WebComponent:class
TimePicker
An input component for selecting time of day, based onvaadin-time-picker
web component. -
Uses of HasValue in com.vaadin.flow.data.binder
Classes in com.vaadin.flow.data.binder that implement HasValue Modifier and Type Class Description class
ReadOnlyHasValue<V>
GenericHasValue
to use any type of component with Vaadin data binding.Methods in com.vaadin.flow.data.binder that return HasValue Modifier and Type Method Description HasValue<?,?>
Binder.Binding. getField()
Gets the field the binding uses.HasValue<?,?>
Binder.BindingBuilder. getField()
Gets the field the binding is being built for.HasValue<?,FIELDVALUE>
Binder.BindingBuilderImpl. getField()
HasValue<?,FIELDVALUE>
Binder.BindingImpl. getField()
HasValue<?,?>
BindingValidationStatus. getField()
Gets the bound field for this status.Methods in com.vaadin.flow.data.binder that return types with arguments of type HasValue Modifier and Type Method Description Stream<HasValue<?,?>>
Binder. getFields()
Returns the fields this binder has been bound to.Optional<HasValue<?,?>>
ValueContext. getHasValue()
Returns anOptional
for theHasValue
used in the value conversion.Methods in com.vaadin.flow.data.binder with parameters of type HasValue Modifier and Type Method Description <FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>Binder. bind(HasValue<?,FIELDVALUE> field, ValueProvider<BEAN,FIELDVALUE> getter, Setter<BEAN,FIELDVALUE> setter)
Binds a field to a bean property represented by the given getter and setter pair.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>Binder. bind(HasValue<?,FIELDVALUE> field, String propertyName)
Binds the given field to the property with the given name.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>Binder. bindReadOnly(HasValue<?,FIELDVALUE> field, ValueProvider<BEAN,FIELDVALUE> getter)
Binds a field to a bean property represented by the given getter.<FIELDVALUE>
Binder.Binding<BEAN,FIELDVALUE>Binder. bindReadOnly(HasValue<?,FIELDVALUE> field, String propertyName)
Binds the given field to the property with the given name.protected void
Binder. clearError(HasValue<?,?> field)
Clears the error condition of the given field, if any.void
BinderValidationErrorHandler. clearError(HasValue<?,?> field)
Clears the error condition of the given field, if one has been previously set withBinderValidationErrorHandler.handleError(com.vaadin.flow.component.HasValue<?, ?>, com.vaadin.flow.data.binder.ValidationResult)
.void
DefaultBinderValidationErrorHandler. clearError(HasValue<?,?> field)
Clears the error condition of the given field, if any.protected void
DefaultBinderValidationErrorHandler. clearErrorTheme(HasValue<?,?> field)
Clears error theme for thefield
.protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>Binder. createBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)
Creates a new binding with the given field.protected <FIELDVALUE,TARGET>
Binder.BindingBuilder<BEAN,TARGET>Binder. doCreateBinding(HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converter, BindingValidationStatusHandler handler)
<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>Binder. forField(HasValue<?,FIELDVALUE> field)
Creates a new binding for the given field.<FIELDVALUE>
Binder.BindingBuilder<BEAN,FIELDVALUE>Binder. forMemberField(HasValue<?,FIELDVALUE> field)
Creates a new binding for the given field.protected Optional<ThemeList>
DefaultBinderValidationErrorHandler. getThemes(HasValue<?,?> field)
Gets themes for thefield
.protected void
Binder. handleError(HasValue<?,?> field, ValidationResult result)
Handles a validation error emitted when trying to write the value of the given field.void
BinderValidationErrorHandler. handleError(HasValue<?,?> field, ValidationResult result)
Handles a validation error emitted when trying to write the value of the given field.void
DefaultBinderValidationErrorHandler. handleError(HasValue<?,?> field, ValidationResult result)
Handles a validation error emitted when trying to write the value of the given field.Optional<BindingException>
BindingExceptionHandler. handleException(HasValue<?,?> field, Exception exception)
Produces aBindingException
instance based on originalexception
and field as a subject of the exception.Optional<BindingException>
DefaultBindingExceptionHandler. handleException(HasValue<?,?> field, Exception exception)
void
Binder. removeBinding(HasValue<?,?> field)
Finds and removes all Bindings for the given field.protected void
DefaultBinderValidationErrorHandler. setErrorTheme(HasValue<?,?> field, ValidationResult result)
Sets error theme for thefield
based onresult
.Constructors in com.vaadin.flow.data.binder with parameters of type HasValue Constructor Description BindingBuilderImpl(Binder<BEAN> binder, HasValue<?,FIELDVALUE> field, Converter<FIELDVALUE,TARGET> converterValidatorChain, BindingValidationStatusHandler statusHandler)
Creates a new binding builder associated with the given field.ValueContext(Component component, HasValue<?,?> hasValue)
Constructor forValueContext
.ValueContext(Component component, HasValue<?,?> hasValue, Locale locale)
Constructor forValueContext
. -
Uses of HasValue in com.vaadin.flow.data.selection
Subinterfaces of HasValue in com.vaadin.flow.data.selection Modifier and Type Interface Description interface
MultiSelect<C extends Component,T>
Multi selection component which allows to select and deselect multiple items.interface
SingleSelect<C extends Component,T>
Single selection component whose selection is treated as a value.Constructors in com.vaadin.flow.data.selection with parameters of type HasValue Constructor Description MultiSelectionEvent(C listing, HasValue<AbstractField.ComponentValueChangeEvent<C,Set<T>>,Set<T>> source, Set<T> oldSelection, boolean userOriginated)
Creates a new multi selection change event in a component.
-