- java.lang.Object
-
- javax.print.attribute.EnumSyntax
-
- javax.print.attribute.standard.Chromaticity
-
- 实现的所有接口
-
Serializable,Cloneable,Attribute,DocAttribute,PrintJobAttribute,PrintRequestAttribute
public final class Chromaticity extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
类Chromaticity是打印属性类,枚举,指定单色或彩色打印。 打印客户机使用它来指定应如何生成或处理打印数据。 它不描述设备的颜色功能。 查询服务的ColorSupported属性以确定是否可以验证设备以支持彩色打印。下表显示了为单色或彩色文档指定色度属性
Shows effects of specifyingMONOCHROME或COLOR的效果。MONOCHROMEorCOLORChromaticity attributes Chromaticity
Attribute Effect on
Monochrome Document Effect on
Color DocumentMONOCHROMEPrinted as is, in monochrome Printed in monochrome, with colors converted to shades of grayCOLORPrinted as is, in monochrome Printed as is, in colorIPP兼容性:目前,色度不是IPP属性。
- 另请参见:
- Serialized Form
-
-
字段汇总
字段 变量和类型 字段 描述 static ChromaticityCOLOR彩色印刷。static ChromaticityMONOCHROME单色印刷。
-
构造方法摘要
构造方法 变量 构造器 描述 protectedChromaticity(int value)使用给定的整数值构造新的色度枚举值。
-
方法摘要
所有方法 实例方法 具体的方法 变量和类型 方法 描述 类<? extends Attribute>getCategory()获取将用作此打印属性值的“类别”的打印属性类。protected EnumSyntax[]getEnumValueTable()返回类Chromaticity的枚举值表。StringgetName()获取此属性值为实例的类别的名称。protected String[]getStringTable()返回类Chromaticity的字符串表。-
声明方法的类 javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
-
-
-
-
字段详细信息
-
MONOCHROME
public static final Chromaticity MONOCHROME
单色印刷。
-
COLOR
public static final Chromaticity COLOR
彩色印刷。
-
-
方法详细信息
-
getStringTable
protected String[] getStringTable()
返回类Chromaticity的字符串表。- 重写:
-
getStringTable在课堂EnumSyntax - 结果
- 字符串表
-
getEnumValueTable
protected EnumSyntax[] getEnumValueTable()
返回类Chromaticity的枚举值表。- 重写:
-
getEnumValueTable在类EnumSyntax - 结果
- 价值表
-
getCategory
public final 类<? extends Attribute> getCategory()
获取将用作此打印属性值的“类别”的打印属性类。对于类
Chromaticity,该类别是类Chromaticity本身。- Specified by:
-
getCategory在界面Attribute - 结果
-
打印属性类(类别),类
java.lang.Class的实例
-
-