|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
使用 PageAttributes.ColorType 的軟體套件 | |
---|---|
java.awt | 包含用於創建使用者介面和繪製圖形圖像的全部類別。 |
java.awt 中 PageAttributes.ColorType 的使用 |
---|
宣告為 PageAttributes.ColorType 的 java.awt 中的欄位 | |
---|---|
static PageAttributes.ColorType |
PageAttributes.ColorType.COLOR
用來指定顏色列印的 ColorType 實例。 |
static PageAttributes.ColorType |
PageAttributes.ColorType.MONOCHROME
用來指定單色列印的 ColorType 實例。 |
返回 PageAttributes.ColorType 的 java.awt 中的方法 | |
---|---|
PageAttributes.ColorType |
PageAttributes.getColor()
返回使用這些屬性的頁面是以彩色呈現,還是以單色呈現。 |
參數型別為 PageAttributes.ColorType 的 java.awt 中的方法 | |
---|---|
void |
PageAttributes.setColor(PageAttributes.ColorType color)
指定使用這些屬性的頁面以彩色呈現,還是以單色呈現。 |
參數型別為 PageAttributes.ColorType 的 java.awt 中的建構子 | |
---|---|
PageAttributes(PageAttributes.ColorType color,
PageAttributes.MediaType media,
PageAttributes.OrientationRequestedType orientationRequested,
PageAttributes.OriginType origin,
PageAttributes.PrintQualityType printQuality,
int[] printerResolution)
建構一個具有每個屬性的指定值的 PageAttributes 實例。 |
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。