T
- the item typepublic class CheckboxGroupDataView<T> extends AbstractDataView<T>
component, dataProviderSupplier, NULL_IDENTIFIER_ERROR_MESSAGE, NULL_ITEM_ERROR_MESSAGE
Constructor and Description |
---|
CheckboxGroupDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier,
CheckboxGroup<T> checkboxGroup)
Constructs a new DataView.
|
Modifier and Type | Method and Description |
---|---|
T |
getItem(int index)
Gets the item at the given index from the data available to the
component.
|
protected Class<?> |
getSupportedDataProviderType()
Returns supported
DataProvider type for this DataView . |
addItemCountChangeListener, equals, getIdentifierProvider, getItems, refreshItem, setIdentifierProvider, verifyDataProviderType
public CheckboxGroupDataView(SerializableSupplier<DataProvider<T,?>> dataProviderSupplier, CheckboxGroup<T> checkboxGroup)
dataProviderSupplier
- data provider suppliercheckboxGroup
- checkbox instance for this DataViewpublic T getItem(int index)
DataView
index
- item index numberprotected Class<?> getSupportedDataProviderType()
AbstractDataView
DataProvider
type for this DataView
.getSupportedDataProviderType
in class AbstractDataView<T>
Copyright © 2020. All rights reserved.