The Book class provides a representation of a document in
which pages may have different page formats and page painters.
Pageable
PrinterJob
public PageFormat
getPageFormat
(int pageIndex)
throws
IndexOutOfBoundsException
[Specified in Pageable]
public Printable
getPrintable
(int pageIndex)
throws
IndexOutOfBoundsException
[Specified in Pageable]
public void
setPage
(int pageIndex, Printable painter, PageFormat page)
throws
IndexOutOfBoundsException
publicfinalstatic
int UNKNOWN_NUMBER_OF_PAGES
= "-1"
[Inherited From Pageable]
getNumberOfPages
method if a Pageable implementation does not know
the number of pages in its set.