public final class NumberUpSupported extends javax.print.attribute.SetOfIntegerSyntax implements javax.print.attribute.SupportedValuesAttribute
NumberUpSupported printing attribute specifies the
supported value or range of values for the
NumberUp attribute.
IPP Compatibility: NumberUpSupported is an IPP 1.1 attribute.
| Constructor and Description |
|---|
NumberUpSupported(int member)
Constructs a
NumberUpSupported object. |
NumberUpSupported(int[][] members)
Constructs a
NumberUpSupported object. |
NumberUpSupported(int lowerBound,
int upperBound)
Constructs a
NumberUpSupported object with the
given range for supported number up values. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public NumberUpSupported(int member)
NumberUpSupported object.member - the only one value supported for number up.java.lang.IllegalArgumentException - if member is < 1public NumberUpSupported(int[][] members)
NumberUpSupported object.members - the members supported for number up.java.lang.IllegalArgumentException - if any element is invalidjava.lang.NullPointerException - if members is null or any
element of members is null.public NumberUpSupported(int lowerBound, int upperBound)
NumberUpSupported object with the
given range for supported number up values.lowerBound - the lower bound valueupperBound - the upper bound valuejava.lang.IllegalArgumentException - if lowerBound <= upperbound
and lowerBound < 1public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.SetOfIntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributeNumberUpSupported itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute