public class HashPrintJobAttributeSet extends HashAttributeSet implements PrintJobAttributeSet, Serializable
HashAttributeSet
并执行接口
PrintJobAttributeSet
语义限制。
Constructor and Description |
---|
HashPrintJobAttributeSet()
构建一个新的、空的哈希打印作业属性集。
|
HashPrintJobAttributeSet(PrintJobAttribute attribute)
构造一个新的哈希打印作业属性集,初始填充给定值。
|
HashPrintJobAttributeSet(PrintJobAttribute[] attributes)
构造一个新的哈希打印作业属性集,最初填充给定数组的值。
|
HashPrintJobAttributeSet(PrintJobAttributeSet attributes)
构建一个新的属性集,最初填充值从给定的属性集的成员限制在
PrintJobAttribute 接口。
|
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 HashPrintJobAttributeSet()
public HashPrintJobAttributeSet(PrintJobAttribute attribute)
attribute
属性值添加到组。
NullPointerException
-(unchecked异常)如果
attribute
空抛。
public HashPrintJobAttributeSet(PrintJobAttribute[] attributes)
attributes
阵列在序列集合中的元素,从指数0。因此,如果数组包含重复的属性值或属性类别,以后的数组元素可以替换早期的数组元素。
attributes
数组属性值添加到组。如果为空,则构造一个空的属性集。
NullPointerException
-(unchecked例外)如果
attributes
任何元素为null抛出。
public HashPrintJobAttributeSet(PrintJobAttributeSet attributes)
PrintJobAttribute
接口。
attributes
-设置属性的值来初始化设置。如果为空,则构造一个空的属性集。
ClassCastException
-(unchecked例外)如果
attributes
任何元素不是
PrintJobAttribute
实例抛出。
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.