public final class Sides extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
 Sides属性对多点打印作业(具有多个文档的作业)的影响取决于所有文档是否具有指定的相同边值,或者是否指定了不同的文档具有不同的边值,以及(可能默认的)值MultipleDocumentHandling属性。 
MultipleDocumentHandling的任何值都是有意义的,打印机的处理取决于MultipleDocumentHandling的值: 
          IPP兼容性:由返回的类别名称getName()是IPP属性名称。 枚举的整数值是IPP枚举值。 toString()方法返回属性值的IPP字符串表示形式。 
| Modifier and Type | Field and Description | 
|---|---|
| static Sides | DUPLEX
              “双面长边”的别名(见 
              TWO_SIDED_LONG_EDGE)。 | 
| static Sides | ONE_SIDED
              将每个连续的打印流页面设置在连续的介质页面的同一侧。 
             | 
| static Sides | TUMBLE
              “双面短边”的别名(见 
              TWO_SIDED_SHORT_EDGE)。 | 
| static Sides | TWO_SIDED_LONG_EDGE
              将连续的打印流页面的每个连续的一对打印页面设置在连续的介质纸张的前侧和后面,使得介质上的每对打印流页面的取向对于读取器将是正确的,如同在长边缘上的装订一样。 
             | 
| static Sides | TWO_SIDED_SHORT_EDGE
              将连续的打印流页面的每个连续的一对打印页面设置在连续介质页的前侧和后侧,使得介质上的每对打印流页面的方向对于读取器将是正确的,如同用于在短边缘上装订一样。 
             | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Sides(int value)
              用给定的整数值构造新的边界枚举值。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| protected EnumSyntax[] | getEnumValueTable()
              返回类Sides的枚举值表。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
| protected String[] | getStringTable()
              返回类Sides的字符串表。 
             | 
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final Sides ONE_SIDED
public static final Sides TWO_SIDED_LONG_EDGE
DUPLEX )。 
          public static final Sides TWO_SIDED_SHORT_EDGE
TUMBLE )。 
          public static final Sides DUPLEX
TWO_SIDED_LONG_EDGE )。 
          public static final Sides TUMBLE
TWO_SIDED_SHORT_EDGE )。 
          protected String[] getStringTable()
getStringTable在 
            EnumSyntax 
           protected EnumSyntax[] getEnumValueTable()
getEnumValueTable在类 
            EnumSyntax 
           public final 类<? extends Attribute> getCategory()
对于类Sides来说,该类别是本身。
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.