| Package | Description |
|---|---|
| com.vaadin.data | |
| com.vaadin.data.provider | |
| com.vaadin.event | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
void |
Result.handle(SerializableConsumer<R> ifOk,
SerializableConsumer<String> ifError)
Invokes either the first callback or the second one, depending on whether
this Result denotes a success or a failure, respectively.
|
void |
Result.handle(SerializableConsumer<R> ifOk,
SerializableConsumer<String> ifError)
Invokes either the first callback or the second one, depending on whether
this Result denotes a success or a failure, respectively.
|
default void |
Result.ifError(SerializableConsumer<String> consumer)
Applies the
consumer if result is an error. |
default void |
Result.ifOk(SerializableConsumer<R> consumer)
Applies the
consumer if result is not an error. |
| Constructor and Description |
|---|
ReadOnlyHasValue(SerializableConsumer<V> valueProcessor)
Creates new
ReadOnlyHasValue with null as an empty value. |
ReadOnlyHasValue(SerializableConsumer<V> valueProcessor,
V emptyValue)
Creates new
ReadOnlyHasValue. |
| Modifier and Type | Method and Description |
|---|---|
<F> SerializableConsumer<F> |
HierarchicalDataCommunicator.setDataProvider(DataProvider<T,F> dataProvider,
F initialFilter)
Set the current hierarchical data provider for this communicator.
|
<F> SerializableConsumer<F> |
DataCommunicator.setDataProvider(DataProvider<T,F> dataProvider,
F initialFilter)
Sets the current data provider for this DataCommunicator.
|
<F> SerializableConsumer<F> |
HierarchicalDataCommunicator.setDataProvider(HierarchicalDataProvider<T,F> dataProvider,
F initialFilter)
Set the current hierarchical data provider for this communicator.
|
| Constructor and Description |
|---|
FocusAndBlurServerRpcDecorator(Component component,
SerializableConsumer<Component.Event> eventHandler)
Create a new decorator instance.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComboBox.NewItemHandler
Deprecated.
Since 8.4 replaced by
ComboBox.NewItemProvider. |
| Modifier and Type | Method and Description |
|---|---|
protected <F> SerializableConsumer<F> |
AbstractListing.internalSetDataProvider(DataProvider<T,F> dataProvider,
F initialFilter) |
Copyright © 2020 Vaadin Ltd. All rights reserved.