Interface SectionProperties

  • All Known Implementing Classes:
    LayoutMaster

    public interface SectionProperties
    Specifies the configuration properties for a section of pages in a paged media.
    • Method Detail

      • getPageWidth

        int getPageWidth()
        Gets the page width. An implementation must ensure that getPageWidth()=getFlowWidth()+getInnerMargin()+getOuterMargin()
        Returns:
        returns the page width
      • getPageHeight

        int getPageHeight()
        Gets the page height. An implementation must ensure that getPageHeight()=getHeaderHeight()+getFlowHeight()+getFooterHeight()
        Returns:
        returns the page height
      • getRowSpacing

        float getRowSpacing()
        Gets row spacing, in row heights. For example, use 2.0 for double row spacing and 1.0 for normal row spacing.
        Returns:
        returns row spacing
      • duplex

        boolean duplex()
        Returns true if output is intended on both sides of the sheets.
        Returns:
        returns true if output is intended on both sides of the sheets