public class HashPrintRequestAttributeSet extends HashAttributeSet implements PrintRequestAttributeSet, Serializable
HashAttributeSet
并执行接口
PrintRequestAttributeSet
语义限制。
Constructor and Description |
---|
HashPrintRequestAttributeSet()
构造一个新的、空的打印请求属性集。
|
HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
构造一个新的打印请求属性集,最初填充给定值。
|
HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
构造一个新的打印请求属性集,最初填充给定数组的值。
|
HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
构建一个新的属性集,最初填充值从给定的属性集的成员限制在
(PrintRequestAttributeSe 接口。
|
add, addAll, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
add, addAll
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray
public HashPrintRequestAttributeSet()
public HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
attribute
属性值添加到组。
NullPointerException
-(unchecked异常)如果
attribute
空抛。
public HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
attributes
阵列在序列集合中的元素,从指数0。因此,如果数组包含重复的属性值或属性类别,以后的数组元素可以替换早期的数组元素。
attributes
数组属性值添加到组。如果为空,则构造一个空的属性集。
NullPointerException
-(unchecked例外)如果
attributes
任何元素为null抛出。
public HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
(PrintRequestAttributeSe
接口。
attributes
-设置属性的值来初始化设置。如果为空,则构造一个空的属性集。
ClassCastException
-(unchecked例外)如果
attributes
任何元素不是
(PrintRequestAttributeSe
实例抛出。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.