T - the item typepublic class ListBoxDataView<T>
extends com.vaadin.flow.data.provider.AbstractDataView<T>
| Constructor and Description |
|---|
ListBoxDataView(com.vaadin.flow.function.SerializableSupplier<? extends com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier,
ListBoxBase listBox)
Constructs a new generic data view for ListBox and verifies the passed
data provider is compatible with this data view implementation.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getItem(int index) |
protected Class<?> |
getSupportedDataProviderType() |
public ListBoxDataView(com.vaadin.flow.function.SerializableSupplier<? extends com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier, ListBoxBase listBox)
dataProviderSupplier - data provider supplierlistBox - list box instance for this DataViewCopyright © 2021. All rights reserved.