Constructor and Description |
---|
CheckboxGroupDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier,
CheckboxGroup<T> checkboxGroup)
Constructs a new DataView.
|
CheckboxGroupListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier,
CheckboxGroup<T> checkboxGroup)
Creates a new in-memory data view for Checkbox Group and verifies the
passed data provider is compatible with this data view implementation.
|
Modifier and Type | Method and Description |
---|---|
SerializableSupplier<Boolean> |
GridArrayUpdater.UpdateQueueData.getHasExpandedItems() |
Modifier and Type | Method and Description |
---|---|
protected DataCommunicator<T> |
Grid.DataCommunicatorBuilder.build(Element element,
CompositeDataGenerator<T> dataGenerator,
U arrayUpdater,
SerializableSupplier<ValueProvider<T,String>> uniqueKeyProviderSupplier)
Build a new
DataCommunicator object for the given Grid
instance. |
void |
GridArrayUpdater.UpdateQueueData.setHasExpandedItems(SerializableSupplier<Boolean> hasExpandedItems) |
Constructor and Description |
---|
SelectDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier,
Select<T> select)
Constructs a new DataView.
|
SelectListDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier,
Select<T> select)
Creates a new in-memory data view for Select and verifies the passed data
provider is compatible with this data view implementation.
|
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.
|
protected SerializableSupplier<? extends DataProvider<T,?>> |
AbstractDataView.dataProviderSupplier |
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.
|
Constructor and Description |
---|
AbstractDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier,
Component component)
Creates a new instance of
AbstractDataView subclass and verifies
the passed data provider is compatible with this data view
implementation. |
AbstractListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier,
Component component)
Creates a new instance of
AbstractListDataView subclass and
verifies the passed data provider is compatible with this data view
implementation. |
Constructor and Description |
---|
HierarchicalDataCommunicator(CompositeDataGenerator<T> dataGenerator,
HierarchicalArrayUpdater arrayUpdater,
SerializableConsumer<elemental.json.JsonArray> dataUpdater,
StateNode stateNode,
SerializableSupplier<ValueProvider<T,String>> uniqueKeyProviderSupplier)
Construct a new hierarchical data communicator backed by a
TreeDataProvider . |
Constructor and Description |
---|
ComponentRenderer(SerializableSupplier<COMPONENT> componentSupplier)
Creates a new ComponentRenderer that uses the componentSupplier to
generate new
Component instances. |
ComponentRenderer(SerializableSupplier<COMPONENT> componentSupplier,
SerializableBiConsumer<COMPONENT,SOURCE> itemConsumer)
Creates a new ComponentRenderer that uses the componentSupplier to
generate new
Component instances, and the itemConsumer to set the
related items. |
Copyright © 2020. All rights reserved.