Class Page

All Implemented Interfaces:
Dimensions

public class Page extends VBox
Represents a printed page, including the text and physical page number.
  • Constructor Details

    • Page

      public Page(List<Element> elements, int physicalPageNumber, long shift)
      The elements are listed top to bottom.
  • Method Details

    • getPhysicalPageNumber

      public int getPhysicalPageNumber()
    • isLeftPage

      public boolean isLeftPage()
      Whether this page is on the left of the spread.
    • toString

      public String toString()
      Overrides:
      toString in class Box