|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.pageable.physicals.PhysicalPage
Represents a physical page.
Here comes the last step of production, the bands are transfered from the logical page to the physical page. That page does not know anything specific about bandtypes and how to handle them, is just able to print all that is fed into the page and that's it. It will not decide when to make a pagebreak, logical page is responsible for that. It is a simple operation container ...
Constructor Summary | |
PhysicalPage(java.awt.print.PageFormat pf,
java.awt.geom.Rectangle2D bounds)
Creates a new physical page. |
Method Summary | |
void |
addOperation(PhysicalOperation op)
Adds an operation to the page. |
void |
flush()
Clears the list of operations maintained by the page. |
java.awt.geom.Rectangle2D |
getBounds()
Return the bounds of this physical Page. |
java.awt.print.PageFormat |
getPageFormat()
Get the page format for this physical page. |
boolean |
isEmpty()
Returns true if the page is empty, and false otherwise. |
void |
write(OutputTarget ot)
Writes the page to an output target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PhysicalPage(java.awt.print.PageFormat pf, java.awt.geom.Rectangle2D bounds)
PageFormat from OutputTarget, bounds define the position in the global context.
pf
- the page format.bounds
- the bounds.Method Detail |
public void addOperation(PhysicalOperation op)
op
- the operation.public void write(OutputTarget ot) throws OutputTargetException
ot
- the output target.
OutputTargetException
- if there is a problem with the output target.public void flush()
public java.awt.geom.Rectangle2D getBounds()
public java.awt.print.PageFormat getPageFormat()
public boolean isEmpty()
true
if the page is empty, and false
otherwise. A page is
empty if no operations have been added since the last call to flush()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |