Mercurial > hg > ismi-richfaces
comparison src/main/java/de/mpiwg/itgroup/ismi/util/guiComponents/DataPaginator.java @ 173:aa564b1b5e1f public_by_author
publicByAuthor feature ui for selecting texts ready.
actual changing of public state not yet implemented.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 06 Jun 2018 21:01:05 +0200 |
parents | 2e911857a759 |
children |
comparison
equal
deleted
inserted
replaced
172:3475b8bea550 | 173:aa564b1b5e1f |
---|---|
2 | 2 |
3 import java.text.MessageFormat; | 3 import java.text.MessageFormat; |
4 | 4 |
5 public class DataPaginator { | 5 public class DataPaginator { |
6 /* This should be parameters or properties stored somewhere */ | 6 /* This should be parameters or properties stored somewhere */ |
7 private int itemsPerPage = 10; | 7 private int itemsPerPage = 20; |
8 private int rewindFastForwardBy = 10; | 8 private int rewindFastForwardBy = 10; |
9 | 9 |
10 private int currentPage; | 10 private int currentPage; |
11 private int numberOfPages; | 11 private int numberOfPages; |
12 | 12 |