Beispiel #1
0
 /**
  * Add a page to this model.
  *
  * @param page the page to add to the model.
  */
 public void addPage(final PageViewport page) {
   this.currentPageSequence.addPage(page);
   page.setPageIndex(this.currentPageIndex + this.currentPageSequence.getPageCount() - 1);
   page.setPageSequence(this.currentPageSequence);
 }