public abstract class PrintJob extends Object
Constructor and Description |
---|
PrintJob() |
Modifier and Type | Method and Description |
---|---|
abstract void |
end()
结束打印作业,并进行任何必要的清理。
|
void |
finalize()
不再引用此打印作业结束。
|
abstract Graphics |
getGraphics()
获取将绘制到下一页的Graphics对象。
|
abstract Dimension |
getPageDimension()
以像素为单位返回页面的尺寸。
|
abstract int |
getPageResolution()
返回页面的分辨率(以像素为单位)。
|
abstract boolean |
lastPageFirst()
如果最后一页将首先打印,则返回true。
|
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.