JavaTM 2 Platform
Standard Edition

Uses of Class
java.awt.print.PageFormat

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 PageFormat of the page specified by pageIndex.
 PageFormat Pageable.getPageFormat(int pageIndex)
          Returns the PageFormat of the page specified by pageIndex.
abstract  PageFormat PrinterJob.pageDialog(PageFormat page)
          Displays a dialog that allows modification of a PageFormat instance.
abstract  PageFormat PrinterJob.defaultPage(PageFormat page)
          Clones the PageFormat argument and alters the clone to describe a default page size and orientation.
 PageFormat PrinterJob.defaultPage()
          Creates a new PageFormat instance and sets it to a default size and orientation.
abstract  PageFormat PrinterJob.validatePage(PageFormat page)
          Alters the PageFormat argument to be usable on this PrinterJob object's current printer.
 

Methods in java.awt.print with parameters of type PageFormat
 void Book.setPage(int pageIndex, Printable painter, PageFormat page)
          Sets the PageFormat and the Painter for 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 numPages pages to the end of this Book.
abstract  void PrinterJob.setPrintable(Printable painter, PageFormat format)
          Calls painter to render the pages in the specified format.
abstract  PageFormat PrinterJob.pageDialog(PageFormat page)
          Displays a dialog that allows modification of a PageFormat instance.
abstract  PageFormat PrinterJob.defaultPage(PageFormat page)
          Clones the PageFormat argument and alters the clone to describe a default page size and orientation.
abstract  PageFormat PrinterJob.validatePage(PageFormat page)
          Alters the PageFormat argument to be usable on this PrinterJob object's current printer.
 int Printable.print(Graphics graphics, PageFormat pageFormat, int pageIndex)
          Prints the page at the specified index into the specified Graphics context in the specified format.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.