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

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。