public final class ColorSupported extends EnumSyntax implements PrintServiceAttribute
 注意:最终用户可以通过查询PrinterMoreInfoManufacturer属性来确定颜色支持的性质和细节。 
 不要将ColorSupported属性与Chromaticity属性混淆。 Chromaticity是客户端可以为作业指定的属性,以告知打印机是否以单色或彩色打印文档,可能导致打印机以单色打印彩色文档。 ColorSupported是一个打印机描述属性,用于指示打印机是否可以打印,无论客户端如何指定打印任何特定文档。 
 IPP兼容性:对于SUPPORTED ,IPP布尔值为“true”,NOT_SUPPORTED为“false”。 getName()返回的类别名称是IPP属性名称。 枚举的整数值是IPP枚举值。 toString()方法返回属性值的IPP字符串表示形式。 
| Modifier and Type | Field and Description | 
|---|---|
| static ColorSupported | NOT_SUPPORTED
              打印机不能进行任何类型的彩色打印。 
             | 
| static ColorSupported | SUPPORTED
              打印机能够进行某种类型的彩色打印,例如高亮颜色或全过程颜色。 
             | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | ColorSupported(int value)
              使用给定的整数值构造支持新颜色的枚举值。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| protected EnumSyntax[] | getEnumValueTable()
              返回ColorSupported类的枚举值表。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
| protected String[] | getStringTable()
              返回ColorSupported类的字符串表。 
             | 
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final ColorSupported NOT_SUPPORTED
public static final ColorSupported SUPPORTED
protected String[] getStringTable()
getStringTable在 
            EnumSyntax 
           protected EnumSyntax[] getEnumValueTable()
getEnumValueTable在 
            EnumSyntax 
           public final 类<? extends Attribute> getCategory()
对于ColorSupported类,该类别是ColorSupported类。
getCategory在界面 
            Attribute 
           java.lang.Class 。 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.