public final class PagesPerMinuteColor extends IntegerSyntax implements PrintServiceAttribute
ColorSupported属性,即,可对任何类型的全彩色印刷,包括突出显示颜色以及颜色的全过程。此属性是信息性的,而不是服务保证。一般来说,它是在营销文献中使用的价值来描述这个设备的颜色功能。值为0表示一个设备,需要两分钟以上处理一个页面。如果一个颜色设备有几个颜色模式,它可以使用页面每分钟的价值为这个属性对应的模式,产生最高的数字。
一个只有黑白打印机不应包括在其属性设置或服务注册的pagesperminutecolor属性。如果此属性存在,那么ColorSupported打印机描述属性必须同时存在和有价值的支持。
聚丙烯的相容性:整数值给出了IPP的整型值。返回getName()类别名称为IPP的属性名称。
| Constructor and Description |
|---|
PagesPerMinuteColor(int value)
用给定的整数值构造一个新的页每分钟的颜色属性。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回这个页面每分钟的颜色属性是否等同于对象的传递。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getValue, hashCode, toStringpublic PagesPerMinuteColor(int value)
value整型值。
IllegalArgumentException -(unchecked例外)如果
value小于0抛。
public boolean equals(Object object)
object不空。object是类pagesperminutecolor实例。object的价值是相等的。equals 方法重写,继承类
IntegerSyntax
object对象比较。
object相当于本页每分钟颜色属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
pagesperminutecolor类,类类pagesperminutecolor本身。
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.