public final class Chromaticity extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
ColorSupported
属性来确定设备是否可以验证支持彩色打印。
下表显示指定一个单色或彩色文档MONOCHROME
或COLOR
色度属性的影响。
Chromaticity Attribute |
Effect on Monochrome Document |
Effect on Color Document |
---|---|---|
MONOCHROME |
Printed as is, in monochrome | Printed in monochrome, with colors converted to shades of gray |
COLOR |
Printed as is, in monochrome | Printed as is, in color |
聚丙烯的相容性:色度不目前IPP属性。
Modifier and Type | Field and Description |
---|---|
static Chromaticity |
COLOR
彩色印刷。
|
static Chromaticity |
MONOCHROME
单色印刷。
|
Modifier | Constructor and Description |
---|---|
protected |
Chromaticity(int value)
构建与给定的整数值的一种新的色度值。
|
Modifier and Type | Method and Description |
---|---|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
protected EnumSyntax[] |
getEnumValueTable()
返回的枚举值表中的类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
protected String[] |
getStringTable()
返回的字符串表中的类。
|
clone, getOffset, getValue, hashCode, readResolve, toString
public static final Chromaticity MONOCHROME
public static final Chromaticity COLOR
protected String[] getStringTable()
getStringTable
方法重写,继承类
EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
方法重写,继承类
EnumSyntax
public final 类<? extends Attribute> getCategory()
类的类是类的色度,色度本身。
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.