Ejemplo n.º 1
0
 public void printPage(
     CommandSender p,
     List<String> ln,
     int pnum,
     String title,
     String footer,
     boolean shownum,
     int lineperpage) {
   PageList pl = new PageList(ln, title, footer, shownum);
   pl.printPage(p, pnum, lineperpage);
 }
 public void removePage(Page page) {
   mPageList.remove(page);
   onPageTreeChanged();
 }
 public void addPage(int index, Page page) {
   mPageList.add(index, page);
   onPageTreeChanged();
 }
 public void load(Bundle savedValues) {
   for (String key : savedValues.keySet()) {
     mPageList.findPage(key).resetData(savedValues.getBundle(key));
   }
 }
 public Page findPage(String key) {
   return mPageList.findPage(key);
 }