|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.HashAttributeSet
javax.print.attribute.HashPrintRequestAttributeSet
public class HashPrintRequestAttributeSet
HashPrintRequestAttributeSet
provides an implementation of
PrintRequestAttributeSet
.
Constructor Summary | |
---|---|
HashPrintRequestAttributeSet()
Creates an empty HashPrintRequestAttributeSet object. |
|
HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
Creates a HashPrintRequestAttributeSet object with the given
attribute in it. |
|
HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
Creates a HashPrintRequestAttributeSet object with the given
attributes in it. |
|
HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
Creates a HashPrintRequestAttributeSet object with the attributes
of the given attributes set in it. |
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.print.attribute.PrintRequestAttributeSet |
---|
add, addAll |
Methods inherited from interface javax.print.attribute.AttributeSet |
---|
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, remove, remove, size, toArray |
Constructor Detail |
---|
public HashPrintRequestAttributeSet()
HashPrintRequestAttributeSet
object.
public HashPrintRequestAttributeSet(PrintRequestAttribute attribute)
HashPrintRequestAttributeSet
object with the given
attribute in it.
attribute
- the attribute to put into the attribute set
NullPointerException
- if attribute is nullpublic HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)
HashPrintRequestAttributeSet
object with the given
attributes in it.
attributes
- the array of attributes to put into the set. If
null
an empty set is created.
NullPointerException
- if one of the attributes of the given
array is null.public HashPrintRequestAttributeSet(PrintRequestAttributeSet attributes)
HashPrintRequestAttributeSet
object with the attributes
of the given attributes set in it.
attributes
- the attributes set to put into the set. If
null
an empty set is created.
ClassCastException
- if any element of attributes is not
an instance of PrintRequestAttribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |