|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.ColorSupported
public final class ColorSupported
ColorSupported クラスは、デバイスがフルプロセスカラーとハイライトカラーを含む、あらゆる種類のカラープリントが可能かどうかを識別する列挙型の印刷属性クラスです。カラーを使う必要があるすべてのドキュメントの命令は、印刷データに組み込まれます。印刷データの外部のジョブに付加される属性はありません。
注: エンドユーザは、PrinterMoreInfoManufacturer 属性に照会することにより、カラーサポートの性質と詳細を確認できます。
ColorSupported 属性を、Chromaticity 属性と混同しないでください。 Chromaticity は、ジョブがドキュメントをモノクロで印刷するかカラーで印刷するかをプリンタに指示するように、クライアントによって指定される属性です。場合によっては、プリンタがカラードキュメントをモノクロで印刷することも可能です。ColorSupported は、クライアントが指定する特定のドキュメントの印刷方法にかかわらず、プリンタがカラー印刷できるようにするかどうかを指定するプリンタの説明属性です。
IPP 互換性: SUPPORTED の場合、IPP boolean 型の値は true、NOT_SUPPORTED の場合は false です。getName() によって返されるカテゴリ名は IPP 属性の名前です。列挙の整数値は IPP 列挙型値です。toString() メソッドは属性値の IPP 文字列表現を返します。
| フィールドの概要 | |
|---|---|
static ColorSupported |
NOT_SUPPORTED
プリンタは、どのタイプのカラープリントもできません。 |
static ColorSupported |
SUPPORTED
プリンタは、ハイライトカラーまたはフルプロセスカラーなど、一部のタイプのカラープリントができます。 |
| コンストラクタの概要 | |
|---|---|
protected |
ColorSupported(int value)
指定された整数値で新しいカラーをサポートする列挙値を構築します。 |
| メソッドの概要 | |
|---|---|
Class<? extends Attribute> |
getCategory()
この印刷属性値の「カテゴリ」として使用される印刷属性クラスを返します。 |
protected EnumSyntax[] |
getEnumValueTable()
ColorSupported クラスの列挙値テーブルを返します。 |
String |
getName()
属性値がインスタンスとなるカテゴリの名前を返します。 |
protected String[] |
getStringTable()
ColorSupported クラスの文字列テーブルを返します。 |
| クラス javax.print.attribute.EnumSyntax から継承されたメソッド |
|---|
clone, getOffset, getValue, hashCode, readResolve, toString |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final ColorSupported NOT_SUPPORTED
public static final ColorSupported SUPPORTED
| コンストラクタの詳細 |
|---|
protected ColorSupported(int value)
value - 整数値| メソッドの詳細 |
|---|
protected String[] getStringTable()
EnumSyntax 内の getStringTableprotected EnumSyntax[] getEnumValueTable()
EnumSyntax 内の getEnumValueTablepublic final Class<? extends Attribute> getCategory()
ColorSupported クラスの場合、カテゴリは ColorSupported クラス自体です。
Attribute 内の getCategoryjava.lang.Class クラスのインスタンスpublic final String getName()
ColorSupported クラスの場合、カテゴリ名は color-supported です。
Attribute 内の getName
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。