- All Superinterfaces:
- AttributeSet
- All Known Implementing Classes:
- AttributeSetUtilities.SynchronizedPrintRequestAttributeSet, AttributeSetUtilities.UnmodifiablePrintRequestAttributeSet, HashPrintRequestAttributeSet
- public interface PrintRequestAttributeSet
- extends AttributeSet
PrintRequestAttributeSet specifies an attribute set which only
allows printing attributes of type
PrintRequestAttribute.
The methods add(Attribute) 55 and addAll(AttributeSet) 55 are
respecified in this interface to indicate that only
PrintRequestAttribute instances are allowed in this set.
|
Method Summary |
boolean |
add(Attribute attribute)
Adds the specified attribute value to this attribute set
if it is not already present. |
boolean |
addAll(AttributeSet attributes)
Adds all of the elements in the specified set to this attribute set. |
| Methods inherited from interface javax.print.attribute.AttributeSet |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray |
add
public boolean add(Attribute attribute)
- Adds the specified attribute value to this attribute set
if it is not already present.
This operation removes any existing attribute of the same category
before adding the given attribute.
- Specified by:
add in interface AttributeSet
addAll
public boolean addAll(AttributeSet attributes)
- Adds all of the elements in the specified set to this attribute set.
- Specified by:
addAll in interface AttributeSet