| Package | Description |
|---|---|
| com.vaadin.data |
| Modifier and Type | Method and Description |
|---|---|
Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.asRequired(ErrorMessageProvider errorMessageProvider)
Sets the field to be required.
|
Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilderImpl.asRequired(ErrorMessageProvider errorMessageProvider) |
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
ErrorMessageProvider errorMessageProvider)
Builds a validator out of a conditional function and an error message
provider.
|
default Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate,
ErrorMessageProvider errorMessageProvider)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, ErrorMessageProvider)
factory method. |
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. |
Copyright © 2017 Vaadin Ltd. All rights reserved.