| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class HashDocAttributeSet extends HashAttributeSet implements DocAttributeSet, Serializable
Class HashDocAttributeSet provides an attribute set which inherits its implementation from class {@link HashAttributeSet HashAttributeSet} and enforces the semantic restrictions of interface {@link DocAttributeSet DocAttributeSet}.
Constructor Summary | |
---|---|
Construct a new, empty hash doc attribute set. |
|
HashDocAttributeSet(DocAttribute attribute) Construct a new hash doc attribute set, initially populated with the given value. |
|
HashDocAttributeSet(DocAttributeSet attributes) Construct a new attribute set, initially populated with the values from the given set where the members of the attribute set are restricted to the DocAttribute interface.
|
|
HashDocAttributeSet(DocAttribute[] attributes) Construct a new hash doc attribute set, initially populated with the values from the given array. |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashDocAttributeSet()
public HashDocAttributeSet(DocAttribute attribute)
attribute
- Attribute value to add to the set.public HashDocAttributeSet(DocAttributeSet attributes)
DocAttribute
interface.
attributes
- set of attribute values to initialise the set. If
null, an empty attribute set is constructed.public HashDocAttributeSet(DocAttribute[] attributes)
attributes
array to the set in
sequence, starting at index 0. Thus, later array elements may replace
earlier array elements if the array contains duplicate attribute
values or attribute categories.
attributes
- Array of attribute values to add to the set.
If null, an empty attribute set is constructed.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |