| 
 | Java Platform 1.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PageFormat | |
| java.awt.print | Provides classes and interfaces for a general printing API. | 
| Uses of PageFormat in java.awt.print | 
| Methods in java.awt.print that return PageFormat | |
|  PageFormat | Book.getPageFormat(int pageIndex)Returns the PageFormatof the page specified bypageIndex. | 
|  PageFormat | Pageable.getPageFormat(int pageIndex)Returns the PageFormatof the page specified bypageIndex. | 
| abstract  PageFormat | PrinterJob.pageDialog(PageFormat page)Displays a dialog that allows modification of a PageFormatinstance. | 
| abstract  PageFormat | PrinterJob.defaultPage(PageFormat page)Clones the PageFormatargument and alters the
 clone to describe a default page size and orientation. | 
|  PageFormat | PrinterJob.defaultPage()Creates a new PageFormatinstance and
 sets it to a default size and orientation. | 
| abstract  PageFormat | PrinterJob.validatePage(PageFormat page)Alters the PageFormatargument to be usable on
 thisPrinterJobobject's current printer. | 
| Methods in java.awt.print with parameters of type PageFormat | |
|  void | Book.setPage(int pageIndex,
        Printable painter,
        PageFormat page)Sets the PageFormatand thePainterfor a
 specified page number. | 
|  void | Book.append(Printable painter,
       PageFormat page)Appends a single page to the end of this Book. | 
|  void | Book.append(Printable painter,
       PageFormat page,
       int numPages)Appends numPagespages to the end of thisBook. | 
| abstract  void | PrinterJob.setPrintable(Printable painter,
             PageFormat format)Calls painterto render the pages in the specifiedformat. | 
| abstract  PageFormat | PrinterJob.pageDialog(PageFormat page)Displays a dialog that allows modification of a PageFormatinstance. | 
| abstract  PageFormat | PrinterJob.defaultPage(PageFormat page)Clones the PageFormatargument and alters the
 clone to describe a default page size and orientation. | 
| abstract  PageFormat | PrinterJob.validatePage(PageFormat page)Alters the PageFormatargument to be usable on
 thisPrinterJobobject's current printer. | 
|  int | Printable.print(Graphics graphics,
      PageFormat pageFormat,
      int pageIndex)Prints the page at the specified index into the specified Graphicscontext in the specified
 format. | 
| 
 | Java Platform 1.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||