public final class NumberUp extends IntegerSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
在多文档打印作业numberup属性的影响(工作与多个文件)取决于所有的文档有相同数量的值指定的或是不同的文件有不同的数值,并在(可能违约)的MultipleDocumentHandling属性值。
MultipleDocumentHandling是有道理的,和打印机的处理取决于MultipleDocumentHandling价值:
getName()了IPP的属性名称。
| Constructor and Description |
|---|
NumberUp(int value)
用给定的整数值构造一个新的数字属性。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回这个数字属性是否等同于对象的传递。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getValue, hashCode, toStringpublic NumberUp(int value)
value整型值。
IllegalArgumentException -(unchecked例外)如果
value小于1抛。
public boolean equals(Object object)
object不空。object是类numberup实例。object的价值是相等的。equals 方法重写,继承类
IntegerSyntax
object对象比较。
object等于这个数的属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
numberup类,类类numberup本身。
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.