Example usage for Java javax.print.attribute PrintRequestAttributeSet fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | add(Attribute attribute) Adds the specified attribute value to this attribute set if it is not already present, first removing any existing value in the same attribute category as the specified attribute value (optional operation). |
boolean | containsKey(Class> category) Returns true if this attribute set contains an attribute for the specified category. |
boolean | containsValue(Attribute attribute) Returns true if this attribute set contains the given attribute value. |
Attribute | get(Class> category) Returns the attribute value which this attribute set contains in the given attribute category. |
Attribute[] | toArray() Returns an array of the attributes contained in this set. |