|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Page 的软件包 | |
|---|---|
| org.opoo.press | |
| org.opoo.press.generator | |
| org.opoo.press.impl | |
| org.opoo.press 中 Page 的使用 |
|---|
| 返回 Page 的 org.opoo.press 中的方法 | |
|---|---|
Page |
Pager.getNext()
|
Page |
Pager.getPrevious()
|
| 返回变量类型为 Page 的类型的 org.opoo.press 中的方法 | |
|---|---|
java.util.List<Page> |
Site.getPages()
|
| 参数类型为 Page 的 org.opoo.press 中的方法 | |
|---|---|
void |
Pager.setNext(Page next)
|
void |
Pager.setPrevious(Page previous)
|
| org.opoo.press.generator 中 Page 的使用 |
|---|
| 实现 Page 的 org.opoo.press.generator 中的类 | |
|---|---|
static class |
CategoryGenerator.CategoryPage
|
static class |
TagGenerator.TagPage
|
| 返回变量类型为 Page 的类型的 org.opoo.press.generator 中的方法 | |
|---|---|
static java.util.List<Page> |
PaginationGenerator.paginate(Site site,
Page page,
java.util.List<Post> posts)
|
static java.util.List<Page> |
PaginationGenerator.paginate(Site site,
Page page,
java.util.List<Post> posts,
int pageSize)
|
| 参数类型为 Page 的 org.opoo.press.generator 中的方法 | |
|---|---|
static boolean |
PaginationGenerator.isPaginationEnabled(java.util.Map<java.lang.String,java.lang.Object> config,
Page page)
|
static boolean |
PaginationGenerator.isPaginationEnabled(Site site,
Page page)
|
static java.util.List<Page> |
PaginationGenerator.paginate(Site site,
Page page,
java.util.List<Post> posts)
|
static java.util.List<Page> |
PaginationGenerator.paginate(Site site,
Page page,
java.util.List<Post> posts,
int pageSize)
|
| org.opoo.press.impl 中 Page 的使用 |
|---|
| 实现 Page 的 org.opoo.press.impl 中的类 | |
|---|---|
class |
PageImpl
|
| 返回 Page 的 org.opoo.press.impl 中的方法 | |
|---|---|
Page |
PageImpl.getPage(int targetPageNumber)
查找指定页码的 page 对象。 |
Page |
PageImpl.getPage(Page current,
int targetPageNumber)
|
| 返回变量类型为 Page 的类型的 org.opoo.press.impl 中的方法 | |
|---|---|
java.util.List<Page> |
SiteImpl.getPages()
|
| 参数类型为 Page 的 org.opoo.press.impl 中的方法 | |
|---|---|
Page |
PageImpl.getPage(Page current,
int targetPageNumber)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||