Java Platform 1.2
Beta 4

Uses of Class
java.awt.print.PageFormat

Packages that use PageFormat
java.awt.print Provides classes and interfaces for a general printing API. The API includes such features as: the ability to specify document types mechanisms for control of page setup and page formats the ability to manage job control dialogs
 

Uses of PageFormat in java.awt.print
 

Methods in java.awt.print that return PageFormat
 PageFormat Book.getPageFormat(int pageIndex)
          Return the PageFormat of the page specified by 'pageIndex'.
 PageFormat Pageable.getPageFormat(int pageIndex)
          Return the PageFormat of the page specified by 'pageIndex'.
abstract  PageFormat PrinterJob.pageDialog(PageFormat page)
          Display a dialog to the user allowing the modification of a PageFormat instance.
abstract  PageFormat PrinterJob.defaultPage(PageFormat page)
          The passed in PageFormat is cloned and the clone altered to describe a default page size and orientation.
 PageFormat PrinterJob.defaultPage()
          A new PageFormat instance is created and then set with a default size and orientation.
abstract  PageFormat PrinterJob.validatePage(PageFormat page)
          The passed in PageFormat is altered to be usable on the PrinterJob's current printer.
 

Methods in java.awt.print with parameters of type PageFormat
 void Book.setPage(int pageIndex, Printable painter, PageFormat page)
          Set the page format and the painter for a given page number.
 void Book.append(Printable painter, PageFormat page)
          Append a single page to the end of this Book.
 void Book.append(Printable painter, PageFormat page, int numPages)
          Append 'numPages' pages to the end of this Book.
abstract  void PrinterJob.setPrintable(Printable painter, PageFormat format)
          The pages in the document to be printed by this PrinterJob are drawn by the Printable object 'painter'.
abstract  PageFormat PrinterJob.pageDialog(PageFormat page)
          Display a dialog to the user allowing the modification of a PageFormat instance.
abstract  PageFormat PrinterJob.defaultPage(PageFormat page)
          The passed in PageFormat is cloned and the clone altered to describe a default page size and orientation.
abstract  PageFormat PrinterJob.validatePage(PageFormat page)
          The passed in PageFormat is altered to be usable on the PrinterJob's current printer.
 int Printable.print(Graphics graphics, PageFormat pageFormat, int pageIndex)
          A PrinterJob will call the Printable interface requesting that a page be rendered into 'graphics'.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.