| パッケージ | 説明 |
|---|---|
| java.awt |
ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。
|
| 修飾子と型 | フィールド | 説明 |
|---|---|---|
static PageAttributes.ColorType |
PageAttributes.ColorType.COLOR
カラー印刷の指定に使用するColorTypeインスタンス。
|
|
static PageAttributes.ColorType |
PageAttributes.ColorType.MONOCHROME
モノクロ印刷の指定に使用するColorTypeインスタンス。
|
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
PageAttributes.ColorType |
PageAttributes.getColor()
これらの属性を使用するページをカラーで描画するかモノクロで描画するかを返します。
|
| 修飾子と型 | メソッド | 説明 |
|---|---|---|
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インスタンスを生成します。
|
バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。