T - item typepublic class SelectDataView<T>
extends com.vaadin.flow.data.provider.AbstractDataView<T>
Select.| Constructor and Description |
|---|
SelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier,
Select<T> select)
Constructs a new DataView.
|
SelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier,
Select<T> select,
com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback)
Constructs a new DataView.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem(int index) |
protected Class<?> |
getSupportedDataProviderType() |
void |
setIdentifierProvider(com.vaadin.flow.data.provider.IdentifierProvider<T> identifierProvider) |
public SelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier, Select<T> select)
dataProviderSupplier - data provider supplierselect - select instance for this DataViewpublic SelectDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier, Select<T> select, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback)
dataProviderSupplier - data provider supplierselect - select instance for this DataViewidentifierChangedCallback - callback method which should be called when identifierProvider
is changedpublic T getItem(int index)
protected Class<?> getSupportedDataProviderType()
getSupportedDataProviderType in class com.vaadin.flow.data.provider.AbstractDataView<T>public void setIdentifierProvider(com.vaadin.flow.data.provider.IdentifierProvider<T> identifierProvider)
Copyright © 2022. All rights reserved.