软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static JobAttributes.DialogType |
JobAttributes.DialogType.COMMON
的
DialogType 实例使用指定的跨平台,纯java打印对话框。
|
static JobAttributes.DialogType |
JobAttributes.DialogType.NATIVE
的
DialogType 实例使用指定平台的本地打印对话框。
|
static JobAttributes.DialogType |
JobAttributes.DialogType.NONE
的
DialogType 实例使用指定不打印对话框。
|
Modifier and Type | Method and Description |
---|---|
JobAttributes.DialogType |
JobAttributes.getDialog()
返回是否使用这些属性的作业,用户应该看到一个打印对话框来修改打印设置,并显示哪些类型的打印对话框。
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setDialog(JobAttributes.DialogType dialog)
指定是否使用这些属性的作业,用户应该看到一个打印对话框来修改打印设置,并显示哪些类型的打印对话框。
|
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.