public abstract class PrintJob extends Object
Constructor and Description |
---|
PrintJob() |
Modifier and Type | Method and Description |
---|---|
abstract void |
end()
结束打印作业并进行任何必要的清理工作。
|
void |
finalize()
结束此打印作业一旦它不再被引用。
|
abstract Graphics |
getGraphics()
获取将绘制到下一页的图形对象。
|
abstract Dimension |
getPageDimension()
返回以像素为单位的页面的尺寸。
|
abstract int |
getPageResolution()
以每英寸像素的像素返回页面的分辨率。
|
abstract boolean |
lastPageFirst()
如果最后一页将打印第一页,则返回。
|
public abstract Graphics getGraphics()
PrintGraphics
public abstract Dimension getPageDimension()
public abstract int getPageResolution()
public abstract boolean lastPageFirst()
public abstract void end()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.