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