An abstract class which initiates and executes a print job. It provides access to a print graphics object which renders to an appropriate print device.
Constructors
protected
Constructor for subclasses to call.
abstract void
Ends the print job and does any necessary cleanup.
void
Gets a Graphics object that will draw to the next page.
Returns the dimensions of the page in pixels.
abstract int
Returns the resolution of the page in pixels per inch.
abstract boolean
Returns true if the last page will be printed first.
protected PrintJob()
Constructor for subclasses to call.
Gets a Graphics object that will draw to the next page. The page is sent to the printer when the graphics object is disposed. This graphics object will also implement the PrintGraphics interface.
()
Returns the dimensions of the page in pixels. The resolution of the page is chosen so that it is similar to the screen resolution.
public abstract boolean lastPageFirst()
Returns true if the last page will be printed first.
true
if the last page will be printed first; otherwise false
public abstract void end()
Ends the print job and does any necessary cleanup.
Ends this print job once it is no longer referenced.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4