Package io.jmix.ui.component
Class Pagination.PageChangeEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.component.Pagination.PageChangeEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Pagination
The event that is fired when the user selects another page or clicks on navigation buttons (next, previous, etc).
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
previousPageNumber
protected int previousPageNumber -
pageNumber
protected int pageNumber
-
-
Constructor Details
-
PageChangeEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getPreviousPageNumber
public int getPreviousPageNumber()- Returns:
- previous page number
-
getPageNumber
public int getPageNumber()- Returns:
- current page number
-