protected static class PrintPreviewDialog.WrapperPrintable extends Object implements Pageable
| Modifier and Type | Field and Description |
|---|---|
protected PageFormat |
pf |
protected Printable |
printer |
UNKNOWN_NUMBER_OF_PAGES| Constructor and Description |
|---|
PrintPreviewDialog.WrapperPrintable(Printable printer,
PageFormat pf) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfPages() |
PageFormat |
getPageFormat(int pageIndex) |
Printable |
getPrintable(int pageIndex) |
protected Printable printer
protected PageFormat pf
public PrintPreviewDialog.WrapperPrintable(Printable printer, PageFormat pf)
public int getNumberOfPages()
getNumberOfPages in interface Pageablepublic PageFormat getPageFormat(int pageIndex) throws IndexOutOfBoundsException
getPageFormat in interface PageableIndexOutOfBoundsExceptionpublic Printable getPrintable(int pageIndex) throws IndexOutOfBoundsException
getPrintable in interface PageableIndexOutOfBoundsExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.