| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HashPrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
Based on 9 examples
public class HashPrintRequestAttributeSet extends HashAttributeSet implements PrintRequestAttributeSet, Serializable
Class HashPrintRequestAttributeSet inherits its implementation from class {@link HashAttributeSet HashAttributeSet} and enforces the semantic restrictions of interface {@link PrintRequestAttributeSet PrintRequestAttributeSet}.
Constructor Summary | |
---|---|
Construct a new, empty print request attribute set. |
|
Construct a new print request attribute set, initially populated with the given value. |
|
HashPrintRequestAttributeSet(PrintRequestAttributeSet 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 (PrintRequestAttributeSe interface.
|
|
HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes) Construct a new print request 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 HashPrintRequestAttributeSet()
public HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
attribute
- Attribute value to add to the set.public HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
(PrintRequestAttributeSe
interface.
attributes
- set of attribute values to initialise the set. If
null, an empty attribute set is constructed.public HashPrintRequestAttributeSet(PrintRequestAttribute[] 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 |