|
|||||||||
| 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.CopiesSupported
public final class CopiesSupported
The CopiesSupported attribute specifies the supported
value or range of values for the
Copies attribute.
IPP Compatibility: CopiesSupported is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
CopiesSupported(int member)
Constructs a CopiesSupported object with
the given value. |
|
CopiesSupported(int lowerBound,
int upperBound)
Constructs a CopiesSupported object with
the given range of 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 CopiesSupported(int member)
CopiesSupported object with
the given value. This means that only this value is
supported for copies.
member - the member value
IllegalArgumentException - if member is < 1
public CopiesSupported(int lowerBound,
int upperBound)
CopiesSupported object with
the given range of values. This means that values for
copies are supported inside the specified range.
lowerBound - the lower bound valueupperBound - the upper bound value
IllegalArgumentException - if 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 AttributeCopiesSupported itself.public String getName()
getName in interface Attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||