クラスjava.awt.PageAttributes.ColorType
の使用
-
java.awtでのPageAttributes.ColorTypeの使用
修飾子と型フィールド説明static final PageAttributes.ColorType
PageAttributes.ColorType.COLOR
カラー・プリントの指定に使用するColorTypeインスタンスstatic final PageAttributes.ColorType
PageAttributes.ColorType.MONOCHROME
モノクロ・プリントの指定に使用するColorTypeインスタンス修飾子と型メソッド説明void
PageAttributes.setColor
(PageAttributes.ColorType color) これらの属性を使用するページをカラーで描画するかモノクロで描画するかを指定します。修飾子コンストラクタ説明PageAttributes
(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution) 各属性に指定された値を持つPageAttributesインスタンスを生成します。