|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.paperclips.PageEnumeration
public class PageEnumeration
An enumeration of pages for given print job on the given printer device. Each element in the enumeration
has already had the page orientation and page margins applied. Therefore, when calling the paint(GC, int,
int) method on each page, the printer's trim should be provided as the x and y arguments. In other words,
the trim is taken as a minimum margin while applying calculating margins, but the position where the
page's content is drawn is determined solely by the margin, and is not offset by the trim. This behavior
is helpful for screen display, and is already compensated for in the
PaperClips.print(PrintJob, Printer) method.
PaperClips.getPages(PrintJob, Printer)| Method Summary | |
|---|---|
boolean |
hasNext()
Returns whether any pages remain. |
PrintPiece |
nextPage()
Returns the next page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasNext()
public PrintPiece nextPage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||