public class SavePrint
extends java.lang.Object
implements java.awt.print.Printable
Constructor and Description |
---|
SavePrint(hsa.DrawGraphics savePrintObj,
java.awt.Component componentObj,
int xSize,
int ySize) |
Modifier and Type | Method and Description |
---|---|
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat format,
int pageIndex) |
void |
saveToFile(java.lang.String fileName) |