|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acm.seguin.print.PagePrinter
org.acm.seguin.uml.print.UMLPagePrinter
public class UMLPagePrinter
Handles printing the page
| Field Summary |
|---|
| Fields inherited from class org.acm.seguin.print.PagePrinter |
|---|
headerHeight, pf |
| Fields inherited from interface java.awt.print.Printable |
|---|
NO_SUCH_PAGE, PAGE_EXISTS |
| Constructor Summary | |
|---|---|
UMLPagePrinter(UMLPackage panel)
Constructor for the UMLPagePrinter object |
|
| Method Summary | |
|---|---|
int |
calculatePageCount(java.awt.print.PageFormat pf)
Guess the number of pages |
static java.awt.print.PageFormat |
getPageFormat(boolean dialog)
Returns the page |
static int |
getPageHeight()
Return the width of the page |
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pageNumber)
Print the page |
| Methods inherited from class org.acm.seguin.print.PagePrinter |
|---|
getPageWidth, getScale, printHeader, setDatePageCountFontSize, setFilenameFontSize, setHeaderHeight, setScale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UMLPagePrinter(UMLPackage panel)
panel - the current package| Method Detail |
|---|
public int calculatePageCount(java.awt.print.PageFormat pf)
pf - Description of Parameter
public int print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pageNumber)
g - the graphics objectpf - the page formatpageNumber - the page number
public static java.awt.print.PageFormat getPageFormat(boolean dialog)
dialog - present a dialog screen if none
public static int getPageHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||