Class ColumnDocumentRenderer

    • Field Detail

      • nextAreaNumber

        protected int nextAreaNumber
    • Constructor Detail

      • ColumnDocumentRenderer

        public ColumnDocumentRenderer​(Document document,
                                      Rectangle[] columns)
        Creates a ColumnDocumentRenderer. Sets RootRenderer.immediateFlush to true.
        Parameters:
        document - the Document on which this Renderer will calculate and execute element placements
        columns - an array of Rectangle specifying the acceptable positions for elements on a page
      • ColumnDocumentRenderer

        public ColumnDocumentRenderer​(Document document,
                                      boolean immediateFlush,
                                      Rectangle[] columns)
        Creates a ColumnDocumentRenderer whose elements need not be flushed immediately.
        Parameters:
        document - the Document on which this Renderer will calculate and execute element placements
        immediateFlush - whether or not to flush contents as soon as possible
        columns - an array of Rectangle specifying the acceptable positions for elements on a page