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)
              返回此数字up属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getValue, hashCode, toStringpublic NumberUp(int value)
value - 整数值。 
           IllegalArgumentException - (未检查异常)如果 
            value小于1,则抛出。 
           public boolean equals(Object object)
object不为空。 object是NumberUp类的一个实例。 object的值是相等的。 equals在 
            IntegerSyntax 
           object - 要比较的对象。 
           object相当于此数字up属性,则为True, 
            object为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于ClassUp类,该类别是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.