private PageBox getLastPage() {
   ContentLimitContainer c = this;
   while (c.getParent() != null) {
     c = c.getParent();
   }
   return c._lastPage;
 }
 private void setLastPage(PageBox page) {
   ContentLimitContainer c = this;
   while (c.getParent() != null) {
     c = c.getParent();
   }
   c._lastPage = page;
 }