| Package | Description |
|---|---|
| com.vaadin.data | |
| com.vaadin.data.provider | |
| com.vaadin.ui |
| Modifier and Type | Interface and Description |
|---|---|
interface |
RequiredFieldConfigurator
This interface represents a predicate which returns
true if bound
field should be configured to have required indicator via
HasValue.setRequiredIndicatorVisible(boolean). |
| Modifier and Type | Method and Description |
|---|---|
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
ErrorMessageProvider errorMessageProvider)
Builds a validator out of a conditional function and an error message
provider.
|
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
String errorMessage)
Builds a validator out of a conditional function and an error message.
|
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. |
default Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate,
String message)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, String) 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. |
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
ListDataProvider.addFilter(SerializablePredicate<T> filter)
Adds a filter to be applied to all queries.
|
<V> void |
ListDataProvider.addFilter(ValueProvider<T,V> valueProvider,
SerializablePredicate<V> valueFilter)
Adds a filter for an item property.
|
void |
ListDataProvider.setFilter(SerializablePredicate<T> filter)
Sets a filter to be applied to all queries.
|
<V> void |
ListDataProvider.setFilter(ValueProvider<T,V> valueProvider,
SerializablePredicate<V> valueFilter)
Sets a filter for an item property.
|
| Modifier and Type | Method and Description |
|---|---|
Stream<T> |
ListDataProvider.fetch(Query<T,SerializablePredicate<T>> query) |
int |
ListDataProvider.size(Query<T,SerializablePredicate<T>> query) |
| Modifier and Type | Method and Description |
|---|---|
SerializablePredicate<T> |
CheckBoxGroup.getItemEnabledProvider() |
protected SerializablePredicate<T> |
AbstractMultiSelect.getItemEnabledProvider()
Returns the item enabled provider for this multiselect.
|
SerializablePredicate<T> |
RadioButtonGroup.getItemEnabledProvider()
Returns the item enabled predicate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CheckBoxGroup.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider) |
protected void |
AbstractMultiSelect.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this multiselect.
|
void |
RadioButtonGroup.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this radiobutton group.
|
Copyright © 2017 Vaadin Ltd. All rights reserved.