| Package | Description |
|---|---|
| nl.surfnet.coin.teams.domain |
| Modifier and Type | Method and Description |
|---|---|
Page |
Pager.getFirstPage() |
Page |
Pager.getLastPage() |
Page |
Pager.getNextPage() |
Page |
Pager.getPreviousPage() |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
Pager.getVisiblePages()
Start algorithm, example: pagesize 10, visible pages 5, total pages 15
Current page is 4 (first 5): start at 1: 1 - 2 - 3 - 4 - 5
Current page is 12 (last 5): start at 11: 11 - 12 - 13 - 14 - 15
Current page is 8 (middle): start at 6: 6 - 7 - 8 - 9 - 10
If there is at most 1 page, an empty list is returned.
|
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.