Lines Matching defs:attributes
112 * service are ignored. As the user browses print services, attributes
117 * If the user cancels the dialog, the returned attributes will not reflect
124 * PrintRequestAttributeSet attributes = new HashPrintRequestAttributeSet();
129 * attributes);
143 * @param attributes on input is the initial application supplied
145 * On output the attributes reflect changes made by the user.
151 * or attributes is null, or the initial PrintService is not in the
159 PrintRequestAttributeSet attributes)
169 } else if (attributes == null) {
170 throw new IllegalArgumentException("attributes must be non-null");
203 flavor, attributes,
210 flavor, attributes,
236 if (attributes.containsKey(dstCategory) &&
239 attributes.remove(dstCategory);
242 if (attributes.containsKey(amCategory) &&
245 attributes.remove(amCategory);
248 attributes.addAll(newas);
250 Fidelity fd = (Fidelity)attributes.get(fdCategory);
254 flavor, attributes);
272 PrintRequestAttributeSet attributes)
279 } else if (attributes == null) {
280 throw new IllegalArgumentException("attributes must be non-null");
284 flavor, attributes);
291 if (attributes.containsKey(amCategory) &&
294 attributes.remove(amCategory);
297 attributes.addAll(newas.values());
305 * Removes any attributes from the given AttributeSet that are