Class PagingLoadRequest

java.lang.Object
com.dlsc.gemsfx.paging.PagingLoadRequest

public class PagingLoadRequest extends Object
The input parameter for the loader callback of paging controls.
See Also:
  • Constructor Details

    • PagingLoadRequest

      public PagingLoadRequest(int page, int pageSize)
      Constructs a new load request for the given page and page size.
      Parameters:
      page - the index of the page (starts with 0)
      pageSize - the size of the page (number of items per page)
  • Method Details

    • getPage

      public final int getPage()
      The index of the page.
      Returns:
      the page index
    • getPageSize

      public final int getPageSize()
      The size of the page.
      Returns:
      the page size