|
Side of Software Print Preview Library 1.8.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory that can produce a Pageable
object given a page format.
PrintPreviewSupport
uses this factory to generate an
initial Pageable
and to generate a new Pageable
when the page format has changed.
Method Summary | |
java.awt.print.Pageable |
createPageable(java.awt.print.PageFormat pageFormat)
Creates and returns a Pageable object given the specified
page format. |
Method Detail |
public java.awt.print.Pageable createPageable(java.awt.print.PageFormat pageFormat)
Pageable
object given the specified
page format. Typically, an implementation will lay out its document
on the specified page format and return a new Pageable
object
for this layout. In most cases, all pages in the returned
Pageable
will have
the same page format, but this is not required.
pageFormat
- a page format for which to generate a new Pageable
object
Pageable
object for the specified page format
java.lang.NullPointerException
- if pageFormat
is null
|
Side of Software Print Preview Library 1.8.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |