Method Summary |
|
protected double | calcDetailHeight() Returns the total height of all detail sections. |
protected double | calcPageFooterHeight() Returns the total height of all page footer sections. |
protected double | calcReportFooterHeight() Returns the total height of all report footer sections. |
protected double | calcSectionHeights(SectionArea area) Returns the total height of all sections in the specified list. |
public void | cancel() Called by someone else running the report to cancel all the hard work
this layout engine has performed. |
protected void | checkRemainingPageLength(boolean isLastRow, boolean includeDetail) Checks remaining page length and outputs a new page if we are at the
bottom of the page. |
protected void | closeOutput() Called by end to let this layout engine clean up a bit. |
protected String | currentSectionTypeAsString() Returns the current section type (header, footer, detail) as a string. |
public void | detail(boolean isLastRow) Called by the report when a single detail row needs to be output. |
protected void | doEnd() Called by end as a chance to insert behavior when the
report ends. |
protected void | doEndPage() Called by endPage as a chance to insert behavior when a
new page ends. |
abstract protected void | doOutputField(Field field) Called by outputField as a chance to insert behavior
when a field is output. |
abstract protected void | doOutputImage(ImageField image) Called by outputImage as a chance to insert behavior
when a image is output. |
abstract protected void | doOutputLine(Line line) Called by outputLine as a chance to insert behavior
when a line is output. |
protected void | doOutputSection(Section sect) Called by outputSection as a chance to insert behavior
when a section is output. |
protected void | doStart() Called by start as a chance to insert behavior when the
report starts. |
protected void | doStartPage() Called by startPage as a chance to insert behavior when a
new page starts. |
public void | end() Called by the report at the end of a report run. |
protected void | endPage(boolean isLastPage) Ends a new page. |
public void | groupFooters(boolean isLastRow) Called by the report when group footers need to be output. |
public void | groupHeaders(boolean isLastRow) Called by the report when group headers need to be output. |
protected void | outputField(Field field) Outputs a field. |
protected void | outputImage(ImageField image) Outputs a image. |
protected void | outputLine(Line line) Outputs a line. |
protected void | outputSection(Section sect, int which) Outputs a section. |
public double | pageHeight() Returns the page height in points. |
public int | pageNumber() Returns the current page number. |
public double | pageWidth() Returns the page width in points. |
public void | setReport(Report r) |
public void | start() Called by the report at the beginning of a report run. |
protected void | startPage() Starts a new page. |
public boolean | wantsMoreData() Called by a report before retrieving each row of data, this method returns
true if this layout engine wants more data. |