public final class Chromaticity extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
ColorSupported
属性,以确定设备是否可以通过验证来支持彩色打印。
下表显示为单色或彩色文档指定色度属性为MONOCHROME
或COLOR
的效果。
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兼容性:目前色度不是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()
返回类Chromaticity的枚举值表。
|
String |
getName()
获取此属性值是一个实例的类别的名称。
|
protected String[] |
getStringTable()
返回类Chromaticity的字符串表。
|
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.