|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jext.print.PrintText
A simple printing class to handle basic text printing. Accepts an array of Strings or a PlainDocument and prints all the lines contained there in. Each String in the array is assumed to be a separate line.
Constructor Summary | |
PrintText(javax.swing.text.PlainDocument document)
Constructor - Accepts a plain document and uses default font. |
|
PrintText(javax.swing.text.PlainDocument document,
java.lang.String docTitle,
PrintingOptions printOptions,
boolean softTabs,
int tabSize)
Constructor - Accepts a plain document as well as other print options, including font, page title, and header indicator (true if printing header, false otherwise). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrintText(javax.swing.text.PlainDocument document)
public PrintText(javax.swing.text.PlainDocument document, java.lang.String docTitle, PrintingOptions printOptions, boolean softTabs, int tabSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |