org.opoo.press
类 Pager
java.lang.Object
org.opoo.press.Pager
public class Pager
- extends Object
- 作者:
- Alex Lin
|
构造方法摘要 |
Pager(int pageNumber,
int totalPages,
int totalPosts,
int pageSize,
List<Post> pagePosts)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pager
public Pager(int pageNumber,
int totalPages,
int totalPosts,
int pageSize,
List<Post> pagePosts)
- 参数:
pageNumber - totalPages - totalPosts - pageSize - pagePosts -
getNext
public Page getNext()
- 返回:
- the next
setNext
public void setNext(Page next)
- 参数:
next - the next to set
getPrevious
public Page getPrevious()
- 返回:
- the previous
setPrevious
public void setPrevious(Page previous)
- 参数:
previous - the previous to set
getPosts
public List<Post> getPosts()
- 返回:
- the posts
getTotalPosts
public int getTotalPosts()
- 返回:
- the totalPosts
getTotalPages
public int getTotalPages()
- 返回:
- the totalPages
getPageNumber
public int getPageNumber()
- 返回:
- the pageNumber
getPageSize
public int getPageSize()
- 返回:
- the pageSize
Copyright © 2013-2014 Opoo.org. All Rights Reserved.