|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBookCreator
public class BookCreator
Creates a Book with the Printables. This is not necessary because the whole printjob could be handled in the Printable-class. But if you use a Book (Book extends Pageable) you can choose the pages that should be printed in the print-dialog.
Constructor Summary | |
---|---|
BookCreator(javax.swing.text.StyledDocument d,
java.awt.print.PageFormat p,
int fontsize)
Creates a BookCreator-object |
Method Summary | |
---|---|
void |
createBook()
Creates a Book-object with all Printables |
java.awt.print.Book |
getBook()
Returns the Book with the Printables |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
BookCreator(javax.swing.text.StyledDocument d, java.awt.print.PageFormat p, int fontsize)
d
- The StyledDocument that should be printedp
- The PageFormat of the printfontsize
- The fontsize of the printMethod Detail |
---|
public void createBook()
public java.awt.print.Book getBook()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |