| Package | Description |
|---|---|
| com.vaadin.data | |
| com.vaadin.ui.components.grid |
| Modifier and Type | Class and Description |
|---|---|
class |
BeanValidationBinder<BEAN> |
| Modifier and Type | Method and Description |
|---|---|
Binder<?> |
StatusChangeEvent.getBinder()
Gets the binder.
|
Binder<BEAN> |
BinderValidationStatus.getBinder()
Gets the source binder of the status.
|
protected Binder<BEAN> |
Binder.BindingBuilderImpl.getBinder()
Returns the
Binder connected to this Binding
instance. |
protected Binder<BEAN> |
Binder.BindingImpl.getBinder()
Returns the
Binder connected to this Binding
instance. |
Binder<?> |
StatusChangeEvent.getSource() |
static <BEAN> Binder<BEAN> |
Binder.withPropertySet(PropertySet<BEAN> propertySet)
Creates a binder using a custom
PropertySet implementation for
finding and resolving property names for
bindInstanceFields(Object), bind(HasValue, String) and
Binder.BindingBuilder.bind(String). |
Binder<BEAN> |
Binder.withValidator(SerializablePredicate<BEAN> predicate,
ErrorMessageProvider errorMessageProvider)
A convenience method to add a validator to this binder using the
Validator.from(SerializablePredicate, ErrorMessageProvider)
factory method. |
Binder<BEAN> |
Binder.withValidator(SerializablePredicate<BEAN> predicate,
String message)
A convenience method to add a validator to this binder using the
Validator.from(SerializablePredicate, String) factory method. |
Binder<BEAN> |
Binder.withValidator(Validator<? super BEAN> validator)
Adds an bean level validator.
|
| Modifier and Type | Method and Description |
|---|---|
static <BEAN> BinderValidationStatus<BEAN> |
BinderValidationStatus.createUnresolvedStatus(Binder<BEAN> source)
Convenience method for creating a unresolved validation status for the
given binder.
|
| Constructor and Description |
|---|
BinderValidationStatus(Binder<BEAN> source,
List<BindingValidationStatus<?>> bindingStatuses,
List<ValidationResult> binderStatuses)
Creates a new binder validation status for the given binder and
validation results.
|
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 given
binder, storing
information of whether the change that triggered this event caused
validation errors. |
| Modifier and Type | Method and Description |
|---|---|
Binder<T> |
EditorImpl.getBinder() |
Binder<T> |
Editor.getBinder()
Returns the underlying Binder from Editor.
|
| Modifier and Type | Method and Description |
|---|---|
Editor<T> |
EditorImpl.setBinder(Binder<T> binder) |
Editor<T> |
Editor.setBinder(Binder<T> binder)
Sets the underlying Binder to this Editor.
|
Copyright © 2020 Vaadin Ltd. All rights reserved.