Uses of Class
com.vaadin.flow.data.binder.Binder
-
Uses of Binder in com.vaadin.flow.data.binder
Modifier and TypeClassDescriptionclass
BeanValidationBinder<BEAN>
Binder that uses reflection based on the provided bean type to resolve bean properties.Modifier and TypeMethodDescriptionBinder.BindingBuilderImpl.getBinder()
Returns theBinder
connected to thisBinding
instance.Binder.BindingImpl.getBinder()
Returns theBinder
connected to thisBinding
instance.BinderValidationStatus.getBinder()
Gets the source binder of the status.Binder<?>
StatusChangeEvent.getBinder()
Gets the binder.Binder<?>
StatusChangeEvent.getSource()
static <BEAN> Binder<BEAN>
Binder.withPropertySet
(PropertySet<BEAN> propertySet) Creates a binder using a customPropertySet
implementation for finding and resolving property names forbindInstanceFields(Object)
,bind(HasValue, String)
andBinder.BindingBuilder.bind(String)
.Binder.withValidator
(Validator<? super BEAN> validator) Adds an bean level validator.Binder.withValidator
(SerializablePredicate<BEAN> predicate, ErrorMessageProvider errorMessageProvider) A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, ErrorMessageProvider)
factory method.Binder.withValidator
(SerializablePredicate<BEAN> predicate, String message) A convenience method to add a validator to this binder using theValidator.from(SerializablePredicate, String)
factory method.Modifier and TypeMethodDescriptionstatic <BEAN> BinderValidationStatus<BEAN>
BinderValidationStatus.createUnresolvedStatus
(Binder<BEAN> source) Convenience method for creating a unresolved validation status for the given binder.ModifierConstructorDescriptionBinderValidationStatus
(Binder<BEAN> source, List<BindingValidationStatus<?>> bindingStatuses, List<ValidationResult> binderStatuses) Creates a new binder validation status for the given binder and validation results.protected
BindingBuilderImpl
(Binder<BEAN> binder, HasValue<?, FIELDVALUE> field, Converter<FIELDVALUE, TARGET> converterValidatorChain, BindingValidationStatusHandler statusHandler) Creates a new binding builder associated with the given field.StatusChangeEvent
(Binder<?> binder, boolean hasValidationErrors) Create a new status change event for givenbinder
, storing information of whether the change that triggered this event caused validation errors.