public final class ColorSupported extends EnumSyntax implements PrintServiceAttribute
注:终端用户能够通过查询PrinterMoreInfoManufacturer
属性确定颜色支持的性质和细节。
不要混淆colorsupported属性与Chromaticity
属性。Chromaticity
是一个属性的客户可以指定一个工作告诉打印机是否在单色或彩色打印文档,可能导致打印机单色打印彩色文档。colorsupported是打印机描述属性告诉打印机是否可以打印彩色不管客户端指定打印任何文件。
聚丙烯的相容性: IPP的布尔值为“真”和“假”not_supported支持。返回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, toString
public static final ColorSupported NOT_SUPPORTED
public static final ColorSupported SUPPORTED
protected ColorSupported(int value)
value
整型值。
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.