|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.print.Book.BookPage
The BookPage inner class describes an individual page in a Book through a PageFormat-Printable pair.
Field Summary | |
private PageFormat |
mFormat
The size and orientation of the page. |
private Printable |
mPainter
The instance that will draw the page. |
Constructor Summary | |
(package private) |
Book.BookPage(Printable painter,
PageFormat format)
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 Summary | |
(package private) PageFormat |
getPageFormat()
Return the format of the page. |
(package private) Printable |
getPrintable()
Return the instance that paints the page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private PageFormat mFormat
private Printable mPainter
Constructor Detail |
Book.BookPage(Printable painter, PageFormat format)
NullPointerException
- If the painter
or format
argument is null
Method Detail |
Printable getPrintable()
PageFormat getPageFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |