|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.PrintJob
public abstract class PrintJob
This abstract class represents a print job.
Toolkit.getPrintJob(Frame, String, Properties)
Constructor Summary | |
---|---|
PrintJob()
Create a new PrintJob. |
Method Summary | |
---|---|
abstract void |
end()
Informs the print job that printing is complete or should be aborted. |
void |
finalize()
This method explicitly ends the print job in the event the job becomes un-referenced without the application having done so. |
abstract Graphics |
getGraphics()
Returns a graphics context suitable for rendering the next page. |
abstract Dimension |
getPageDimension()
Returns the dimension of the page in pixels. |
abstract int |
getPageResolution()
Returns the resolution of the page in pixels per inch. |
abstract boolean |
lastPageFirst()
Tests whether or not the last page will be printed first. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintJob()
Method Detail |
---|
public abstract Graphics getGraphics()
PrintGraphics
.
public abstract Dimension getPageDimension()
public abstract int getPageResolution()
public abstract boolean lastPageFirst()
public abstract void end()
public void finalize()
finalize
in class Object
System.gc()
,
System.runFinalizersOnExit(boolean)
,
java.lang.ref
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |