public final class Sides extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
一方面影响的属性在多文档打印工作(工作与多个文件)取决于所有的文件有相同的边值指定是否不同的文档有不同的侧面指定的值,并在(可能违约)的MultipleDocumentHandling
属性值。
MultipleDocumentHandling
是有道理的,和打印机的处理取决于MultipleDocumentHandling
价值:
聚丙烯的相容性:类别名称返回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()
返回类的枚举值表。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
protected String[] |
getStringTable()
返回类的字符串表。
|
clone, getOffset, getValue, hashCode, readResolve, toString
public 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()
对于类的边,类是类的边本身。
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.