クラスjava.awt.PageAttributes.ColorType
の使用
PageAttributes.ColorTypeを使用するパッケージ
-
java.awtでのPageAttributes.ColorTypeの使用
PageAttributes.ColorTypeとして宣言されたjava.awtのフィールド修飾子と型フィールド説明static final PageAttributes.ColorTypePageAttributes.ColorType.COLORカラー・プリントの指定に使用するColorTypeインスタンスstatic final PageAttributes.ColorTypePageAttributes.ColorType.MONOCHROMEモノクロ・プリントの指定に使用するColorTypeインスタンスPageAttributes.ColorTypeを返すjava.awtのメソッド型PageAttributes.ColorTypeのパラメータを持つjava.awtのメソッド修飾子と型メソッド説明voidPageAttributes.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インスタンスを生成します。