javax.print.attribute.standard
public final class JobMediaSheetsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobMediaSheetsSupported
printing attribute specifies the
supported range of values for the
JobMediaSheets
attribute.
IPP Compatibility: JobMediaSheetsSupported is an IPP 1.1 attribute.
Constructor and Description |
---|
JobMediaSheetsSupported(int lowerBound,
int upperBound)
Constructs a
JobMediaSheetsSupported object with the
given range of supported job media sheets values. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object.
|
Class<? extends Attribute> |
getCategory()
Returns category of this class.
|
String |
getName()
Returns the name of this attribute.
|
contains, contains, getMembers, hashCode, next, toString
public JobMediaSheetsSupported(int lowerBound, int upperBound)
JobMediaSheetsSupported
object with the
given range of supported job media sheets values.lowerBound
- the lower bound valueupperBound
- the upper bound valueIllegalArgumentException
- if lowerBound <= upperbound
and lowerBound < 1public boolean equals(Object obj)
equals
in class SetOfIntegerSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobMediaSheetsSupported
itself.