Class Pagination.PageChangeEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.component.Pagination.PageChangeEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
Pagination

public static class Pagination.PageChangeEvent extends EventObject
The event that is fired when the user selects another page or clicks on navigation buttons (next, previous, etc).
See Also:
  • Field Details

    • previousPageNumber

      protected int previousPageNumber
    • pageNumber

      protected int pageNumber
  • Constructor Details

    • PageChangeEvent

      public PageChangeEvent(Pagination source, int previousPageNumber, int pageNumber)
  • Method Details

    • getSource

      public Pagination getSource()
      Overrides:
      getSource in class EventObject
    • getPreviousPageNumber

      public int getPreviousPageNumber()
      Returns:
      previous page number
    • getPageNumber

      public int getPageNumber()
      Returns:
      current page number