Package com.vaadin.flow.data.binder
-
Interface Summary Interface Description Binder.Binding<BEAN,TARGET> Represents the binding between a field and a data property.Binder.BindingBuilder<BEAN,TARGET> Creates a binding between a field and a data property.BinderValidationErrorHandler Handler for applying effects toHasValuecomponents inBinderbased onValidationResultfor the user input.BinderValidationStatusHandler<BEAN> Handler forBinderValidationStatuschanges.BindingExceptionHandler Handles anExceptionwhich may be thrown insideBinder.Bindinglogic to be able to identify the originator of the exception (the originalExceptioninstance usually doesn't contain any information whichHasValueobject is the source of the exception).BindingValidationStatusHandler Handler forBindingValidationStatuschanges.ErrorMessageProvider Provider interface for generating localizable error messages usingValueContext.HasDataProvider<T> A generic interface for listing components that use a data provider for showing data.HasFilterableDataProvider<T,F> A generic interface for listing components that use a filterable data provider for showing data.HasItemComponents<T> Represents a component that can have additional components between the items.HasItemComponents.ItemComponent<T> Represents a single item component that is used inside aHasItemComponents.HasItems<T> Mixin interface for components that displays a collection of items.HasItemsAndComponents<T> Represents a component that display a collection of items and can have additional components between the items.HasValidator<V> A generic interface for field components and other user interface objects that have a user-editable value that should be validated.PropertyDefinition<T,V> A property from aPropertySet.PropertySet<T> Describes a set of properties that can be used for configuration based on property names instead of setter and getter callbacks.RequiredFieldConfigurator This interface represents a predicate which returnstrueif bound field should be configured to have required indicator viaHasValue.setRequiredIndicatorVisible(boolean).Result<R> Represents the result of an operation that might fail, such as type conversion.Setter<BEAN,FIELDVALUE> The function to write the field value to the bean propertyStatusChangeListener Listener interface for status change events from binder.ValidationResult Represents the result of a validation.ValidationStatusChangeListener<V> The listener interface for receivingValidationStatusChangeEventevents.Validator<T> A functional interface for validating user input or other potentially invalid data. -
Class Summary Class Description AbstractBeanPropertyDefinition<T,V> Abstract base class for PropertyDefinition implementations for beans.BeanPropertySet<T> APropertySetthat uses reflection to find bean properties.BeanPropertySet.NestedBeanPropertyDefinition<T,V> Contains properties for a bean type which is nested in another definition.BeanValidationBinder<BEAN> Binder that uses reflection based on the provided bean type to resolve bean properties.Binder<BEAN> Connects one or moreFieldcomponents to properties of a backing data type such as a bean type.Binder.BindingBuilderImpl<BEAN,FIELDVALUE,TARGET> An internal implementation ofBindingBuilder.Binder.BindingImpl<BEAN,FIELDVALUE,TARGET> An internal implementation ofBinding.BinderValidationStatus<BEAN> Binder validation status change.BindingValidationStatus<TARGET> Represents the status of field validation.DefaultBinderValidationErrorHandler Default implementation ofBinderValidationErrorHandler.DefaultBindingExceptionHandler Default implementation ofBindingExceptionHandler.PropertyFilterDefinition Contains the constraints for filtering nested properties.ReadOnlyHasValue<V> GenericHasValueto use any type of component with Vaadin data binding.RequiredFieldConfiguratorUtil Helper methods used byRequiredFieldConfigurator.StatusChangeEvent Binder status change event.ValidationResult.SimpleValidationResult Simple validation result implementation.ValidationStatusChangeEvent<V> The event to be processed whenValidationStatusChangeListener.validationStatusChanged(ValidationStatusChangeEvent)invoked.ValueContext Value context forConverters. -
Enum Summary Enum Description BindingValidationStatus.Status Status of the validation.ErrorLevel Represents the error levels displayed on components. -
Exception Summary Exception Description BindingException A subclass ofRuntimeExceptionwhich may be thrown insideBinder.Bindinglogic to wrap an exception caused byHasValue, validator, converter, etc.ValidationException Indicates validation errors in aBinderwhen a field value is validated. -
Annotation Types Summary Annotation Type Description PropertyId Defines the custom property name to be bound to afield componentusingBinder.