| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public final class NumberUpSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
Class NumberUpSupported is a printing attribute class, a set of integers, that gives the supported values for a {@link NumberUp NumberUp} attribute.
IPP Compatibility: The NumberUpSupported attribute's canonical array
form gives the lower and upper bound for each range of number-up to be
included in an IPP "number-up-supported" attribute. See class {@link
javax.print.attribute.SetOfIntegerSyntax SetOfIntegerSyntax} for an
explanation of canonical array form. The category name returned by
getName()
gives the IPP attribute name.
Constructor Summary | |
---|---|
NumberUpSupported(int member) Construct a new number up supported attribute containing a single integer. |
|
NumberUpSupported(int lowerBound, int upperBound) Construct a new number up supported attribute containing a single range of integers. |
|
NumberUpSupported(int[][] members) Construct a new number up supported attribute with the given members. |
Method Summary | |
---|---|
boolean |
Returns whether this number up supported attribute is equivalent to the passed in object. |
Class |
Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
String |
getName() Get the name of the category of which this attribute value is an instance. |
Methods inherited from class javax.print.attribute.SetOfIntegerSyntax |
---|
contains, contains, equals, getMembers, hashCode, next, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberUpSupported(int member)
member
- Set member.public NumberUpSupported(int lowerBound, int upperBound)
lowerBound
- Lower bound of the range.upperBound
- Upper bound of the range.public NumberUpSupported(int[][] members)
members
- Set members in array form.Method Detail |
---|
public boolean equals(Object object)
object
is not null.
object
is an instance of class NumberUpSupported.
object
's
members are the same.
equals
in class SetOfIntegerSyntax
object
- Object to compare to.object
is equivalent to this number up
supported attribute, false otherwise.public final Class getCategory()
For class NumberUpSupported, the category is class NumberUpSupported itself.
public final String getName()
For class NumberUpSupported, the
category name is "number-up-supported"
.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |