|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface that defines a logical page. A logical page is responsible for distributing the received bands so that they can be printed. Don't make any assumptions how the content gets distributed.
LogicalPageImpl| Method Summary | |
void |
addBand(java.awt.geom.Rectangle2D bounds,
Band band)
Adds a band to the logical page. |
void |
close()
Closes the page. |
float |
getHeight()
Returns the page height. |
OutputTarget |
getOutputTarget()
Gets the output target. |
java.awt.print.PageFormat |
getPhysicalPageFormat()
Returns the physical page format. |
float |
getWidth()
Returns the page width. |
boolean |
isEmpty()
Returns true if the page is empty, and false otherwise. |
boolean |
isOpen()
Returns true if the page is open, and false otherwise. |
LogicalPage |
newInstance()
Creates a new instance of a logical page. |
void |
open()
Opens the page. |
void |
replaySpool(Spool operations)
Replays a spool.A spool is a collection of previously prepared content which should be printed later. |
void |
setOutputTarget(OutputTarget target)
Sets the output target for the page. |
Spool |
spoolBand(java.awt.geom.Rectangle2D bounds,
Band band)
Generate a spool. |
| Method Detail |
public float getWidth()
public float getHeight()
public boolean isOpen()
public boolean isEmpty()
public void close()
public void open()
public void replaySpool(Spool operations)
operations - the spool that should be replayed.
public Spool spoolBand(java.awt.geom.Rectangle2D bounds,
Band band)
throws OutputTargetException
The spool can be saved, cloned and replayed at a later time.
bounds - the bounds.band - the band.
OutputTargetException - if there is a problem with the output target.
public void addBand(java.awt.geom.Rectangle2D bounds,
Band band)
throws OutputTargetException
bounds - the bounds.band - the band.
OutputTargetException - if there is a problem with the output target.public java.awt.print.PageFormat getPhysicalPageFormat()
public OutputTarget getOutputTarget()
public void setOutputTarget(OutputTarget target)
target - the output target.public LogicalPage newInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||