| Package | Description |
|---|---|
| com.vaadin.data | |
| com.vaadin.data.provider | |
| com.vaadin.ui | |
| com.vaadin.ui.renderers |
| Modifier and Type | Method and Description |
|---|---|
static <R> Result<R> |
Result.of(SerializableSupplier<R> supplier,
SerializableFunction<Exception,String> onError)
Returns a Result representing the result of invoking the given supplier.
|
| Modifier and Type | Field and Description |
|---|---|
static SerializableSupplier<Locale> |
InMemoryDataProviderHelpers.CURRENT_LOCALE_SUPPLIER
Supplier that attempts to resolve a locale from the current UI.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> DataProvider<T,String> |
InMemoryDataProviderHelpers.filteringByCaseInsensitiveString(InMemoryDataProvider<T> dataProvider,
ValueProvider<T,String> valueProvider,
SerializableBiPredicate<String,String> predicate,
SerializableSupplier<Locale> localeSupplier)
Wraps a given data provider so that its filter tests the given predicate
with the lower case string provided by the given value provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Grid.setDataProvider(Grid.FetchItemsCallback<T> fetchItems,
SerializableSupplier<Integer> sizeCallback)
Sets a CallbackDataProvider using the given fetch items callback and a
size callback.
|
| Constructor and Description |
|---|
LocalDateRenderer(SerializableSupplier<DateTimeFormatter> formatterSupplier)
Creates a new LocalDateRenderer.
|
LocalDateRenderer(SerializableSupplier<DateTimeFormatter> formatterSupplier,
String nullRepresentation)
Creates a new LocalDateRenderer.
|
LocalDateTimeRenderer(SerializableSupplier<DateTimeFormatter> formatterSupplier)
Creates a new LocalDateTimeRenderer.
|
LocalDateTimeRenderer(SerializableSupplier<DateTimeFormatter> formatterSupplier,
String nullRepresentation)
Creates a new LocalDateTimeRenderer.
|
Copyright © 2022 Vaadin Ltd. All rights reserved.