Class ReportPage

java.lang.Object
overit.geocall.basic.ui.report.ReportPage

public class ReportPage extends Object
This class implements and define the method and attributes to manage the report's pages.
  • Field Details

    • _rowList

      protected ArrayList _rowList
    • _from

      protected int _from
    • _to

      protected int _to
    • _page

      protected int _page
    • _pn

      protected PagesNumber _pn
    • _x

      protected float _x
    • _y

      protected float _y
    • _w

      protected float _w
    • _h

      protected float _h
    • _bodytop

      protected PdfColBox _bodytop
    • _bodybottom

      protected PdfColBox _bodybottom
    • _header

      protected PdfColBox _header
    • _background

      protected PdfSetBox _background
  • Constructor Details

    • ReportPage

      public ReportPage(int page, PagesNumber pn, float x, float y, float w, float h)
      Main class's constructor. Creates and define the page of the report.
      Parameters:
      page - The number of page in the report
      pn - The page's number.
      x - The x coordinate from which start the page.
      y - The y coordinate from which start the page.
      w - The width of the page.
      h - The height of the page.
  • Method Details

    • setRowList

      public void setRowList(ArrayList al)
      Sets the list of row of the page.
      Parameters:
      al - The list of the row of the page.
    • setSequence

      public void setSequence(int from, int to)
      Sets a sequence of rows.
      Parameters:
      from - The start row of the sequence.
      to - Tue end row of the sequence.
    • output

      protected void output(Report r, com.lowagie.text.Document d)
    • getHeader

      public PdfColBox getHeader()
      Gets the page's header.
      Returns:
      The [@link PdfColBox} header of the page.
    • getFooter

      public PdfColBox getFooter()
      Gets the page's footer.
      Returns:
      The [@link PdfColBox} footer of the page.
    • getBackground

      public PdfSetBox getBackground()
      Gets the page's background.
      Returns:
      The [@link PdfSetBox} background of the page.
    • getPage

      public int getPage()
      Gets the actual page.
      Returns:
      The actual page.
    • getPagesNumber

      public PagesNumber getPagesNumber()
      Gets the actual page's number.
      Returns:
      The actual page's number.