T
- data typepublic class ListBoxListDataView<T> extends AbstractListDataView<T>
component, dataProviderSupplier, NULL_IDENTIFIER_ERROR_MESSAGE
Constructor and Description |
---|
ListBoxListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier,
ListBoxBase listBox,
SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)
Creates a new in-memory data view for ListBox and verifies the passed
data provider is compatible with this data view implementation.
|
addFilter, addItem, addItemAfter, addItemBefore, addItems, addItemsAfter, addItemsBefore, addSortComparator, addSortOrder, contains, getDataProvider, getItem, getItemCount, getItems, getNextItem, getPreviousItem, getSupportedDataProviderType, removeFilters, removeItem, removeItems, removeSorting, setFilter, setSortComparator, setSortOrder, validateItemIndex
addItemCountChangeListener, equals, getIdentifierProvider, refreshAll, refreshItem, setIdentifierProvider, verifyDataProviderType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addItemCountChangeListener, refreshAll, refreshItem, setIdentifierProvider
public ListBoxListDataView(SerializableSupplier<? extends DataProvider<T,?>> dataProviderSupplier, ListBoxBase listBox, SerializableBiConsumer<SerializablePredicate<T>,SerializableComparator<T>> filterOrSortingChangedCallback)
dataProviderSupplier
- data provider supplierlistBox
- listBox instance for this DataViewfilterOrSortingChangedCallback
- callback, which is being invoked when the ListBox's filtering
or sorting changes, not null
Copyright © 2022. All rights reserved.