| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class HashPrintServiceAttributeSet extends HashAttributeSet implements PrintServiceAttributeSet, Serializable
Class HashPrintServiceAttributeSet provides an attribute set which inherits its implementation from class {@link HashAttributeSet HashAttributeSet} and enforces the semantic restrictions of interface {@link PrintServiceAttributeSet PrintServiceAttributeSet}.
Constructor Summary | |
---|---|
Construct a new, empty hash print service attribute set. |
|
Construct a new hash print service attribute set, initially populated with the given value. |
|
HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes) Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the PrintServiceAttribute interface.
|
|
HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes) Construct a new print service attribute set, initially populated with the values from the given array. |
Method Summary |
---|
Methods inherited from class javax.print.attribute.HashAttributeSet |
---|
add, addAll, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashPrintServiceAttributeSet()
public HashPrintServiceAttributeSet(PrintServiceAttribute attribute)
attribute
- Attribute value to add to the set.public HashPrintServiceAttributeSet(PrintServiceAttributeSet attributes)
PrintServiceAttribute
interface.
attributes
- set of attribute values to initialise the set. If
null, an empty attribute set is constructed.public HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)
attributes
array to the set in
sequence, starting at index 0. Thus, later array elements may replace
earlier array elements if the array contains duplicate attribute
values or attribute categories.
attributes
- Array of attribute values to add to the set.
If null, an empty attribute set is constructed.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |