Modifier and Type | Method and Description |
---|---|
SerializablePredicate<T> |
CheckboxGroup.getItemEnabledProvider()
Returns the item enabled predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckboxGroup.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this checkbox group.
|
Modifier and Type | Method and Description |
---|---|
SerializablePredicate<T> |
Grid.getDragFilter()
Gets the active drag filter.
|
SerializablePredicate<T> |
Grid.getDropFilter()
Gets the active drop filter.
|
Modifier and Type | Method and Description |
---|---|
void |
Grid.setDragFilter(SerializablePredicate<T> dragFilter)
Sets the drag filter for this drag source.
|
void |
Grid.setDropFilter(SerializablePredicate<T> dropFilter)
Sets the drop filter for this drag target.
|
Modifier and Type | Method and Description |
---|---|
SerializablePredicate<T> |
GridContextMenu.getDynamicContentHandler()
Gets the callback function that is executed before the context menu is
opened.
|
Modifier and Type | Method and Description |
---|---|
void |
GridContextMenu.setDynamicContentHandler(SerializablePredicate<T> dynamicContentHandler)
Sets a callback that is executed before the context menu is opened.
|
Modifier and Type | Method and Description |
---|---|
SerializablePredicate<ITEM> |
ListBoxBase.getItemEnabledProvider()
Returns the item enabled predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
ListBoxBase.setItemEnabledProvider(SerializablePredicate<ITEM> itemEnabledProvider)
Sets the item enabled predicate for this ListBox.
|
Modifier and Type | Method and Description |
---|---|
SerializablePredicate<T> |
RadioButtonGroup.getItemEnabledProvider()
Returns the item enabled predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
RadioButtonGroup.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this radio button group.
|
Modifier and Type | Method and Description |
---|---|
SerializablePredicate<T> |
Select.getItemEnabledProvider()
Returns the item enabled predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
Select.setItemEnabledProvider(SerializablePredicate<T> itemEnabledProvider)
Sets the item enabled predicate for this select.
|
Modifier and Type | Method and Description |
---|---|
HierarchicalDataProvider<T,SerializablePredicate<T>> |
TreeGrid.getDataProvider() |
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,
ErrorMessageProvider errorMessageProvider,
ErrorLevel errorLevel)
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.
|
static <T> Validator<T> |
Validator.from(SerializablePredicate<T> guard,
String errorMessage,
ErrorLevel errorLevel)
Builds a validator out of a conditional function and an error message.
|
void |
BinderValidationStatus.notifyBindingValidationStatusHandlers(SerializablePredicate<BindingValidationStatus<?>> filter)
Notifies validation status handlers for bindings that pass given filter.
|
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,
ErrorMessageProvider errorMessageProvider,
ErrorLevel errorLevel)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, ErrorMessageProvider, ErrorLevel)
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. |
default Binder.BindingBuilder<BEAN,TARGET> |
Binder.BindingBuilder.withValidator(SerializablePredicate<? super TARGET> predicate,
String message,
ErrorLevel errorLevel)
A convenience method to add a validator to this binding using the
Validator.from(SerializablePredicate, String, ErrorLevel)
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 |
---|---|
static <T,V> SerializablePredicate<T> |
InMemoryDataProviderHelpers.createEqualsFilter(ValueProvider<T,V> valueProvider,
V requiredValue)
Creates a predicate that compares equality of the given required value to
the value the given value provider obtains.
|
static <T,V> SerializablePredicate<T> |
InMemoryDataProviderHelpers.createValueProviderFilter(ValueProvider<T,V> valueProvider,
SerializablePredicate<V> valueFilter)
Creates a new predicate from the given predicate and value provider.
|
SerializablePredicate<T> |
ListDataProvider.getFilter() |
SerializablePredicate<T> |
InMemoryDataProvider.getFilter()
Gets the current filter of this data provider.
|
Modifier and Type | Method and Description |
---|---|
default void |
InMemoryDataProvider.addFilter(SerializablePredicate<T> filter)
Adds a filter to be applied to all queries.
|
default <V> void |
InMemoryDataProvider.addFilter(ValueProvider<T,V> valueProvider,
SerializablePredicate<V> valueFilter)
Adds a filter for an item property.
|
static <T,V> SerializablePredicate<T> |
InMemoryDataProviderHelpers.createValueProviderFilter(ValueProvider<T,V> valueProvider,
SerializablePredicate<V> valueFilter)
Creates a new predicate from the given predicate and value provider.
|
void |
ListDataProvider.setFilter(SerializablePredicate<T> filter) |
void |
InMemoryDataProvider.setFilter(SerializablePredicate<T> filter)
Sets a filter to be applied to all queries.
|
default <V> void |
InMemoryDataProvider.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> |
TreeDataProvider.getFilter() |
Modifier and Type | Method and Description |
---|---|
HierarchicalDataProvider<T,SerializablePredicate<T>> |
HasHierarchicalDataProvider.getDataProvider() |
Modifier and Type | Method and Description |
---|---|
void |
TreeDataProvider.setFilter(SerializablePredicate<T> filter) |
Modifier and Type | Method and Description |
---|---|
Stream<T> |
TreeDataProvider.fetchChildren(HierarchicalQuery<T,SerializablePredicate<T>> query) |
int |
TreeDataProvider.getChildCount(HierarchicalQuery<T,SerializablePredicate<T>> query) |
Modifier and Type | Method and Description |
---|---|
default SerializablePredicate<T> |
SerializablePredicate.and(Predicate<? super T> other) |
default SerializablePredicate<T> |
SerializablePredicate.negate() |
default SerializablePredicate<T> |
SerializablePredicate.or(Predicate<? super T> other) |
Modifier and Type | Method and Description |
---|---|
void |
ElementPropertyMap.setUpdateFromClientFilter(SerializablePredicate<String> updateFromClientFilter)
Sets a filter that will be used by for determining whether a property
maybe updated from the client.
|
Copyright © 2020. All rights reserved.