@FunctionalInterface public interface ItemCountChangeListener extends Serializable
Items count changes are mostly due to filtering of the data, but can also be sent for changes in the dataset.
The itemCountChanged(ItemCountChangeEvent) will be called
during the "before client response"-phase, so changes done during the
server round trip will only receive one event.
For example, this code will trigger only one
itemCountChanged(ItemCountChangeEvent) method call, although there
are two methods called which cause the item count change:
dataView.addItemCountChangeListener(listener);
dataView.addItem(newItem);
dataView.setFilter(filter);
| Modifier and Type | Method and Description |
|---|---|
void |
itemCountChanged(ItemCountChangeEvent event)
Invoked for changes in the data size.
|
void itemCountChanged(ItemCountChangeEvent event)
event - Component event containing new data sizeCopyright © 2021. All rights reserved.