接口 org.opoo.press.Page
的使用

使用 Page 的软件包
org.opoo.press   
org.opoo.press.generator   
org.opoo.press.impl   
 

org.opoo.pressPage 的使用
 

返回 Pageorg.opoo.press 中的方法
 Page Pager.getNext()
           
 Page Pager.getPrevious()
           
 

返回变量类型为 Page 的类型的 org.opoo.press 中的方法
 List<Page> Site.getPages()
           
 

参数类型为 Pageorg.opoo.press 中的方法
 void Pager.setNext(Page next)
           
 void Pager.setPrevious(Page previous)
           
 

org.opoo.press.generatorPage 的使用
 

实现 Pageorg.opoo.press.generator 中的类
static class CategoryGenerator.CategoryPage
           
static class TagGenerator.TagPage
           
 

返回变量类型为 Page 的类型的 org.opoo.press.generator 中的方法
static List<Page> PaginationGenerator.paginate(Site site, Page page, List<Post> posts)
           
static List<Page> PaginationGenerator.paginate(Site site, Page page, List<Post> posts, int pageSize)
           
 

参数类型为 Pageorg.opoo.press.generator 中的方法
static boolean PaginationGenerator.isPaginationEnabled(Map<String,Object> config, Page page)
           
static boolean PaginationGenerator.isPaginationEnabled(Site site, Page page)
           
static List<Page> PaginationGenerator.paginate(Site site, Page page, List<Post> posts)
           
static List<Page> PaginationGenerator.paginate(Site site, Page page, List<Post> posts, int pageSize)
           
 

org.opoo.press.implPage 的使用
 

实现 Pageorg.opoo.press.impl 中的类
 class PageImpl
           
 

返回 Pageorg.opoo.press.impl 中的方法
 Page PageImpl.getPage(int targetPageNumber)
          查找指定页码的 page 对象。
 Page PageImpl.getPage(Page current, int targetPageNumber)
           
 

返回变量类型为 Page 的类型的 org.opoo.press.impl 中的方法
 List<Page> SiteImpl.getPages()
           
 

参数类型为 Pageorg.opoo.press.impl 中的方法
 Page PageImpl.getPage(Page current, int targetPageNumber)
           
 



Copyright © 2013 Opoo.org. All Rights Reserved.