public final class QueuedJobCount extends IntegerSyntax implements PrintServiceAttribute
JobState是悬而未决,pending_held,处理工作,或processing_stopped。
聚丙烯的相容性:整数值给出了IPP的整型值。返回getName()类别名称为IPP的属性名称。
| Constructor and Description |
|---|
QueuedJobCount(int value)
用给定的整数值构造一个新的队列作业计数属性。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回此队列作业计数属性是否等效于对象的传递的属性。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getValue, hashCode, toStringpublic QueuedJobCount(int value)
value整型值。
IllegalArgumentException -(unchecked例外)如果
value小于0抛。
public boolean equals(Object object)
object不空。object是类queuedjobcount实例。object的价值是相等的。equals 方法重写,继承类
IntegerSyntax
object对象比较。
object相当于该排队工作计数属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
queuedjobcount类,类类queuedjobcount本身。
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.