软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Field and Description |
---|---|
static JobAttributes.DefaultSelectionType |
JobAttributes.DefaultSelectionType.ALL
的
DefaultSelectionType 实例使用指定的工作,所有的网页都应该印刷。
|
static JobAttributes.DefaultSelectionType |
JobAttributes.DefaultSelectionType.RANGE
的
DefaultSelectionType 实例使用指定一系列作业的页面应该打印。
|
static JobAttributes.DefaultSelectionType |
JobAttributes.DefaultSelectionType.SELECTION
的
DefaultSelectionType 实例用于指定当前选择要打印。
|
Modifier and Type | Method and Description |
---|---|
JobAttributes.DefaultSelectionType |
JobAttributes.getDefaultSelection()
指定是否使用这些属性的工作,应用程序应该打印所有页面,通过
getPageRanges 返回值指定的范围,或当前的选择。
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setDefaultSelection(JobAttributes.DefaultSelectionType defaultSelection)
指定是否使用这些属性的工作,应用程序应该打印所有页面,通过
getPageRanges 返回值指定的范围,或当前的选择。
|
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.