T - item typeV - DataView typepublic interface HasListDataView<T,V extends ListDataView<T,?>> extends Serializable
ListDataView that provides information and allows operations on the
items.| Modifier and Type | Method and Description |
|---|---|
V |
getListDataView()
Get the ListDataView for the component.
|
default V |
setItems(Collection<T> items)
Sets the items from the given Collection and returns a
ListDataView that provides information and allows operations on
the items. |
V |
setItems(ListDataProvider<T> dataProvider)
Sets a ListDataProvider for the component to use and returns a
ListDataView that provides information and allows operations on
the items. |
default V |
setItems(T... items)
Sets the items of this component.
|
V setItems(ListDataProvider<T> dataProvider)
ListDataView that provides information and allows operations on
the items.dataProvider - ListDataProvider providing items to the component.default V setItems(Collection<T> items)
ListDataView that provides information and allows operations on
the items.items - the items to display, not nulldefault V setItems(T... items)
items - the items to display, not nullV getListDataView()
getLazyDataView().IllegalStateException - when list data view is not applicable and
getLazyDataView() should be used insteadCopyright © 2021. All rights reserved.