-
-
|
Constructor and Description |
|
PrintJob |
|
-
|
Modifier and Type |
Method and Description |
|
end |
abstract void end()
Ends the print job and does any necessary cleanup.
public abstract void end()
-
Ends the print job and does any necessary cleanup.
|
|
finalize |
void finalize()
Ends this print job once it is no longer referenced.
public void finalize()
-
Ends this print job once it is no longer referenced.
- Overrides:
finalize in class java.lang.Object
- See Also:
end()
|
|
getGraphics |
Gets a Graphics object that will draw to the next page.
-
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.
- See Also:
PrintGraphics
|
|
getPageDimension |
Returns the dimensions of the page in pixels.
-
Returns the dimensions of the page in pixels.
The resolution of the page is chosen so that it
is similar to the screen resolution.
|
|
getPageResolution |
abstract int getPageResolution()
Returns the resolution of the page in pixels per inch.
public abstract int getPageResolution()
-
Returns the resolution of the page in pixels per inch.
Note that this doesn't have to correspond to the physical
resolution of the printer.
|
|
lastPageFirst |
abstract boolean lastPageFirst()
Returns true if the last page will be printed first.
public abstract boolean lastPageFirst()
-
Returns true if the last page will be printed first.
|
-
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
This document was created by
Dulcet from the OpenJDK sources.
Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.