クラスjava.awt.PageAttributes.ColorType
の使用
-
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インスタンスを生成します。
-