目录搜索
文字
分享


JavaTM 2 Platform
Standard Ed. 6

类 java.awt.JobAttributes.DefaultSelectionType
的使用

使用 JobAttributes.DefaultSelectionType 的软件包
java.awt 包含用于创建用户界面和绘制图形图像的所有类。 
 

java.awt 中 JobAttributes.DefaultSelectionType 的使用
 

声明为 JobAttributes.DefaultSelectionType 的 java.awt 中的字段
static JobAttributes.DefaultSelectionType JobAttributes.DefaultSelectionType.ALL
          用于指定应该打印全部作业页面的 DefaultSelectionType 实例。
static JobAttributes.DefaultSelectionType JobAttributes.DefaultSelectionType.RANGE
          用于指定应该打印一定范围的作业页面的 DefaultSelectionType 实例。
static JobAttributes.DefaultSelectionType JobAttributes.DefaultSelectionType.SELECTION
          用于指定应该打印当前选择作业页面的 DefaultSelectionType 实例。
 

返回 JobAttributes.DefaultSelectionType 的 java.awt 中的方法
 JobAttributes.DefaultSelectionType JobAttributes.getDefaultSelection()
          指定应用程序应该为使用这些属性的作业打印所有页面,即 getPageRanges 的返回值所指定范围的页面,还是打印当前选择的页面。
 

参数类型为 JobAttributes.DefaultSelectionType 的 java.awt 中的方法
 void JobAttributes.setDefaultSelection(JobAttributes.DefaultSelectionType defaultSelection)
          指定应用程序应该为使用这些属性的作业打印所有页面,即 getPageRanges 的返回值所指定范围的页面,还是打印当前选择的页面。
 

参数类型为 JobAttributes.DefaultSelectionType 的 java.awt 中的构造方法
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 实例。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。