|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jas.plot.PrintHelper
|
+--jas.plot.java2.PrintHelper12
| Fields inherited from class jas.plot.PrintHelper |
debugPrinting, ORIENTATION_BEST_FIT, ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAITE |
| Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
| Constructor Summary | |
PrintHelper12()
|
|
| Method Summary | |
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pi)
|
void |
printTarget(java.awt.Component target)
Print the specified component |
void |
setOrientation(int orientation)
Set the print orientation |
void |
setScaleUp(boolean scaleUp)
Controls whether the PrintHelper will scale an image up to make it fill the page (PrintHelper will always try to shrink to fit) |
| Methods inherited from class jas.plot.PrintHelper |
instance, isPrinting, setPrintingThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrintHelper12()
| Method Detail |
public void printTarget(java.awt.Component target)
throws java.lang.Exception
PrintHelperprintTarget in class PrintHelper
public int print(java.awt.Graphics g,
java.awt.print.PageFormat pf,
int pi)
throws java.awt.print.PrinterException
print in interface java.awt.print.Printablepublic void setOrientation(int orientation)
PrintHelpersetOrientation in class PrintHelperjas.plot.PrintHelperorientation - One of ORIENTATION_BEST_FIT,ORIENTATION_PORTRAITE,ORIENTATION_LANDSCAPEpublic void setScaleUp(boolean scaleUp)
PrintHelpersetScaleUp in class PrintHelper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||