| java.lang.Object org.acm.seguin.print.PagePrinter org.acm.seguin.print.text.TextPagePrinter
TextPagePrinter | public class TextPagePrinter extends PagePrinter (Code) | | Handles printing the page
author: Chris Seguin |
TextPagePrinter | public TextPagePrinter(String initFilename, String init, LinePrinter printer)(Code) | | Constructor for the UMLPagePrinter object
Parameters: initFilename - Description of Parameter Parameters: init - Description of Parameter Parameters: printer - Description of Parameter |
calculatePageCount | public int calculatePageCount(PageFormat pf)(Code) | | Guess the number of pages
Parameters: pf - Description of Parameter Description of the Returned Value |
print | public int print(Graphics g, PageFormat pf, int pageNumber)(Code) | | Print the page
Parameters: g - the graphics object Parameters: pf - the page format Parameters: pageNumber - the page number Whether there is more pages or not |
setBetweenLineSpacing | public void setBetweenLineSpacing(int value)(Code) | | Sets the BetweenLineSpacing attribute of the TextPagePrinter object
Parameters: value - The new BetweenLineSpacing value |
setTextFontSize | public void setTextFontSize(int value)(Code) | | Sets the TextFontSize attribute of the TextPagePrinter object
Parameters: value - The new TextFontSize value |
|
|