|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.PrintJob | +--voji.ui.JPrintPreview.PrintPreviewPrintJob
This is the table model for ResultTables
Field Summary | |
protected PageGraphics |
pageGraphics
The internal page graphics object |
protected java.awt.PrintJob |
templatePrintJob
The template print job |
Constructor Summary | |
JPrintPreview.PrintPreviewPrintJob(java.awt.PrintJob templatePrintJob)
Constructs a PrintPreviewPrintJob using the given template. |
Method Summary | |
void |
end()
Ends the print job and does any necessary cleanup. |
java.awt.Graphics |
getGraphics()
Gets a Graphics object that will draw to the next page. |
java.awt.Dimension |
getPageDimension()
Returns the dimensions of the page in pixels |
int |
getPageResolution()
Returns the resolution of the page in pixels per inch. |
boolean |
lastPageFirst()
Returns true if the last page will be printed first. |
Methods inherited from class java.awt.PrintJob |
finalize |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.awt.PrintJob templatePrintJob
protected PageGraphics pageGraphics
Constructor Detail |
public JPrintPreview.PrintPreviewPrintJob(java.awt.PrintJob templatePrintJob)
templatePrintJob
- the PrintJob
that should
be used as a template for this print job.Method Detail |
public java.awt.Graphics getGraphics()
CopyPrintJob
.
getGraphics
in class java.awt.PrintJob
PageGraphics
object
which draws to the next page.public java.awt.Dimension getPageDimension()
getPageDimension
in class java.awt.PrintJob
public int getPageResolution()
getPageResolution
in class java.awt.PrintJob
public boolean lastPageFirst()
false
.
lastPageFirst
in class java.awt.PrintJob
public void end()
end
in class java.awt.PrintJob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |