软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static JobAttributes.DestinationType |
JobAttributes.DestinationType.FILE
的
DestinationType 实例使用指定打印到文件。
|
static JobAttributes.DestinationType |
JobAttributes.DestinationType.PRINTER
的
DestinationType 实例使用指定打印到打印机。
|
Modifier and Type | Method and Description |
---|---|
JobAttributes.DestinationType |
JobAttributes.getDestination()
指定是否将输出到打印机或使用这些属性的作业的文件。
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setDestination(JobAttributes.DestinationType destination)
指定是否将输出到打印机或使用这些属性的作业的文件。
|
Constructor and Description |
---|
JobAttributes(int copies, JobAttributes.DefaultSelectionType defaultSelection, JobAttributes.DestinationType destination, JobAttributes.DialogType dialog, String fileName, int maxPage, int minPage, JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, JobAttributes.SidesType sides)
构建了一个
JobAttributes 实例为每个属性指定的值。
|
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.