Package overit.geocall.basic.ui.report
Class ReportPage
java.lang.Object
overit.geocall.basic.ui.report.ReportPage
This class implements and define the method and attributes to manage the report's pages.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReportPage(int page, PagesNumber pn, float x, float y, float w, float h) Main class's constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the page's background.Gets the page's footer.Gets the page's header.intgetPage()Gets the actual page.Gets the actual page's number.protected voidvoidsetRowList(ArrayList al) Sets the list of row of the page.voidsetSequence(int from, int to) Sets a sequence of rows.
-
Field Details
-
_rowList
-
_from
protected int _from -
_to
protected int _to -
_page
protected int _page -
_pn
-
_x
protected float _x -
_y
protected float _y -
_w
protected float _w -
_h
protected float _h -
_bodytop
-
_bodybottom
-
_header
-
_background
-
-
Constructor Details
-
ReportPage
Main class's constructor. Creates and define the page of the report.- Parameters:
page- The number of page in the reportpn- 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
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
-
getHeader
Gets the page's header.- Returns:
- The [@link PdfColBox} header of the page.
-
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
Gets the actual page's number.- Returns:
- The actual page's number.
-