|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.print.attribute.SetOfIntegerSyntax
javax.print.attribute.standard.NumberUpSupported
public final class NumberUpSupported
The 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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.print.attribute.SetOfIntegerSyntax |
|---|
contains, contains, getMembers, hashCode, next, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NumberUpSupported(int member)
NumberUpSupported object.
member - the only one value supported for number up.
IllegalArgumentException - if member is < 1public NumberUpSupported(int[][] members)
NumberUpSupported object.
members - the members supported for number up.
IllegalArgumentException - if any element is invalid
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 value
IllegalArgumentException - if lowerBound <= upperbound
and lowerBound < 1| Method Detail |
|---|
public boolean equals(Object obj)
equals in class SetOfIntegerSyntaxobj - the object to test
true if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributeNumberUpSupported itself.public String getName()
getName in interface Attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||