Uses of Class java.awt.print.PageFormat

Uses in package java.awt.print

Methods with parameter type java.awt.print.PageFormat

void
Book.append(Printable printable, PageFormat page_format)
This method appends a page to the end of the book.
void
Book.append(Printable printable, PageFormat page_format, int num_pages)
This method appends the specified number of pages to the end of the book.
PageFormat
Clones the specified PageFormat object then alters the clone so that it represents the default page format.
PageFormat
Displays a dialog box to the user which allows the page format attributes to be modified.
int
Printable.print(Graphics graphics, PageFormat format, int page_number)
This method prints the specified page to the specified graphics context in the specified format.
void
Book.setPage(int page_num, Printable printable, PageFormat page_format)
This method changes the Printable and PageFormat for the specified page.
void
PrinterJob.setPrintable(Printable printable, PageFormat page_format)
Sets the Printable and the page format for the pages to be printed.
PageFormat
Makes any alterations to the specified PageFormat necessary to make it work with the current printer.

Methods with return type java.awt.print.PageFormat

PageFormat
Returns an instance of the default page which will have the default paper and orientation.
PageFormat
Clones the specified PageFormat object then alters the clone so that it represents the default page format.
PageFormat
Book.getPageFormat(int page_number)
This method returns the PageFormat object for the specified page.
PageFormat
Pageable.getPageFormat(int pageIndex)
This method returns the PageFormat instance for the specified page.
PageFormat
Displays a dialog box to the user which allows the page format attributes to be modified.
PageFormat
PageFormat
Makes any alterations to the specified PageFormat necessary to make it work with the current printer.