public static class PaginationComponent.BeforeRefreshEvent
extends java.util.EventObject
preventRefresh()
,
for example:
usersTable.getPagination().addBeforeRefreshListener(refreshEvent -> {
// check modified data and prevent refresh
refreshEvent.preventRefresh();
});
Modifier and Type | Field and Description |
---|---|
protected boolean |
refreshPrevented |
Constructor and Description |
---|
BeforeRefreshEvent(PaginationComponent source) |
Modifier and Type | Method and Description |
---|---|
PaginationComponent |
getSource() |
boolean |
isRefreshPrevented() |
void |
preventRefresh()
If invoked, the component will not refresh the data container.
|
public BeforeRefreshEvent(PaginationComponent source)
public PaginationComponent getSource()
getSource
in class java.util.EventObject
public void preventRefresh()
public boolean isRefreshPrevented()