java.lang.Object | |
↳ | com.atlassian.jira.web.bean.PagerFilter<T> |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
This is a super class that implements paging for browsers.
Most other filters (which want paging ability) will extend this.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
pages |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
generates a collection of page objects which keep track of the pages for display
| |||||||||||
generates a collection of page objects which keep track of the pages for display
| |||||||||||
Gets the current page out of a list of objects.
| |||||||||||
A pager that will return unlimited number of objects.
| |||||||||||
A pager that has its start aligned to the page containing the index.
| |||||||||||
Restrict the pagers to a certain number of pages on either side of the current page.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
generates a collection of page objects which keep track of the pages for display
items | the items to be paged |
---|
generates a collection of page objects which keep track of the pages for display
itemCount | the number of items to be paged |
---|
Gets the current page out of a list of objects.
A pager that will return unlimited number of objects.
MAX_VALUE
A pager that has its start aligned to the page containing the index.
index | the index of a result whose page you want the pager to start at |
---|---|
max | the maximum number of results in a page |
IllegalArgumentException | if index is less than 0 |
---|
Restrict the pagers to a certain number of pages on either side of the current page.
The number of pages to list is stored in #PAGES_TO_LIST.