public final class JobMediaSheetsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobMediaSheets属性给出了支持的值。它被限制在一个单一的连续范围的整数;多个非重叠的范围是不允许的。这给出了打印机将接受的媒体表的打印作业的总大小的下限和上限。
聚丙烯的相容性:的jobmediasheetssupported属性的典型的数组形式给出上下限值的范围是包括在IPP工作介质片的支持”属性。看到典型的阵列形式解释类SetOfIntegerSyntax。返回getName()类别名称为IPP的属性名称。
| Constructor and Description |
|---|
JobMediaSheetsSupported(int lowerBound, int upperBound)
构造一个新的作业媒体表支持的属性包含一个单一的整数范围。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回此作业媒体表支持的属性是否等同于对象的传递。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
contains, contains, getMembers, hashCode, next, toStringpublic JobMediaSheetsSupported(int lowerBound,
int upperBound)
lowerBound下的束缚。
upperBound上界的范围。
IllegalArgumentException -(unchecked例外)如果一个空的指定范围内或如果一个非空的范围是小于0的规定
lowerBound扔。
public boolean equals(Object object)
object不空。object是一个类的实例jobmediasheetssupported。object的成员都是一样的。equals 方法重写,继承类
SetOfIntegerSyntax
object对象比较。
object相当于这个工作表支持的媒体属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
jobmediasheetssupported类,类类jobmediasheetssupported本身。
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.