All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.print.Book.PageAndPainter

java.lang.Object
    |
    +----java.awt.print.Book.PageAndPainter

protected class Book.PageAndPainter
extends Object
The PageAndPainter inner class holds the PageFormat- Printable pair associated with a given page.


Constructor Index

 o Book.PageAndPainter(Book, PageFormat, Printable)
A new instance where 'format' describes the page's size and orientation and 'painter' is the instance that will draw the page's graphics.

Method Index

 o getPageFormat()
Return the format of the page.
 o getPainter()
Return the instance that paints the page.
 o set(PageFormat, Printable)
Set the paper size and orientation, 'format', as well as the instance that will draw the page, 'painter'.

Constructors

 o Book.PageAndPainter
protected Book.PageAndPainter(Book this$0,
                              PageFormat format,
                              Printable painter)
A new instance where 'format' describes the page's size and orientation and 'painter' is the instance that will draw the page's graphics.

Methods

 o set
protected void set(PageFormat format,
                   Printable painter)
Set the paper size and orientation, 'format', as well as the instance that will draw the page, 'painter'.

 o getPageFormat
protected PageFormat getPageFormat()
Return the format of the page.

 o getPainter
protected Printable getPainter()
Return the instance that paints the page.


All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature