Class ListBoxDataView<T>
- java.lang.Object
-
- com.vaadin.flow.data.provider.AbstractDataView<T>
-
- com.vaadin.flow.component.listbox.dataview.ListBoxDataView<T>
-
- Type Parameters:
T- the item type
- All Implemented Interfaces:
com.vaadin.flow.data.provider.DataView<T>,Serializable
public class ListBoxDataView<T> extends com.vaadin.flow.data.provider.AbstractDataView<T>Implementation of generic data view for ListBox.- Since:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetItem(int index)protected Class<?>getSupportedDataProviderType()
-
-
-
Constructor Detail
-
ListBoxDataView
public 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.- Parameters:
dataProviderSupplier- data provider supplierlistBox- list box instance for this DataView
-
-