Top Description Fields Constructors Methods
com.dlsc.gemsfx.paging

public Class PagingLoadRequest

extends Object
Class Inheritance

The input parameter for the loader callback of paging controls.
See Also
PagingListView#loaderProperty(), PagingGridTableView#loaderProperty()

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
public
PagingLoadRequest(int
the index of the page (starts with 0)
page
,
int
the size of the page (number of items per page)
pageSize
)

Constructs a new load request for the given page and page size.

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the page index
getPage
()

The index of the page.

public final int

Returns:

the page size
getPageSize
()

The size of the page.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

pageback to summary
private final int page
pageSizeback to summary
private final int pageSize

Constructor Detail

PagingLoadRequestback to summary
public PagingLoadRequest(int page, int pageSize)

Constructs a new load request for the given page and page size.

Parameters
page:int

the index of the page (starts with 0)

pageSize:int

the size of the page (number of items per page)

Method Detail

getPageback to summary
public final int getPage()

The index of the page.

Returns:int

the page index

getPageSizeback to summary
public final int getPageSize()

The size of the page.

Returns:int

the page size