org.jfree.report.modules.gui.swing.printing
public class PrintReportProcessor extends PaginatingReportProcessor implements Pageable
Constructor Summary | |
---|---|
PrintReportProcessor(ReportJob job) |
Method Summary | |
---|---|
void | close() |
protected GraphicsOutputProcessor | getGraphicsProcessor() |
protected ReportJob | getJob() |
int | getNumberOfPages()
Returns the number of pages in the set. |
PageDrawable | getPageDrawable(int pageIndex) |
PageFormat | getPageFormat(int pageIndex)
Returns the PageFormat of the page specified by
pageIndex .
|
Printable | getPrintable(int pageIndex)
Returns the Printable instance responsible for rendering the
page specified by pageIndex .
|
boolean | isError() |
boolean | paginate() |
protected PageDrawable | processPage(int page) |
void | processReport(ReportJob job)
Throws an unsupported operation exception. |
Pageable
implementations
return the true number of pages rather than the UNKNOWN_NUMBER_OF_PAGES
constant.
Returns: the number of pages in this Pageable
.
PageFormat
of the page specified by
pageIndex
.
Parameters: pageIndex the zero based index of the page whose PageFormat
is being requested
Returns: the PageFormat
describing the size and orientation.
Throws: IndexOutOfBoundsException if the Pageable
does not
contain the requested page.
Printable
instance responsible for rendering the
page specified by pageIndex
.
Parameters: pageIndex the zero based index of the page whose Printable
is being requested
Returns: the Printable
that renders the page.
Throws: IndexOutOfBoundsException if the Pageable
does not
contain the requested page.
Parameters: job
Throws: UnsupportedOperationException