T - the item typepublic class CheckboxGroupDataView<T>
extends com.vaadin.flow.data.provider.AbstractDataView<T>
| Constructor and Description |
|---|
CheckboxGroupDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier,
CheckboxGroup<T> checkboxGroup)
Constructs a new DataView.
|
CheckboxGroupDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier,
CheckboxGroup<T> checkboxGroup,
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 CheckboxGroupDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup)
dataProviderSupplier - data provider suppliercheckboxGroup - checkbox instance for this DataViewpublic CheckboxGroupDataView(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.data.provider.DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup, com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.data.provider.IdentifierProvider<T>> identifierChangedCallback)
dataProviderSupplier - data provider suppliercheckboxGroup - checkbox 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 © 2021. All rights reserved.