| Package | Description |
|---|---|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.print.attribute |
Provides classes and interfaces that describe the types of Java
TM Print Service attributes and how they can be collected into attribute sets.
|
| Modifier and Type | Method and Description |
|---|---|
DocAttributeSet |
SimpleDoc.getAttributes()
Obtains the set of printing attributes for this doc object.
|
DocAttributeSet |
Doc.getAttributes()
Obtains the set of printing attributes for this doc object.
|
| Constructor and Description | |
|---|---|
SimpleDoc(Object
Constructs a
SimpleDoc with the specified print data, doc flavor and doc attribute set.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HashDocAttributeSet
Class HashDocAttributeSet provides an attribute set which inherits its implementation from class
HashAttributeSet and enforces the semantic restrictions of interface
DocAttributeSet.
|
| Modifier and Type | Method and Description |
|---|---|
static DocAttributeSet |
AttributeSetUtilities.synchronizedView(DocAttributeSet
Creates a synchronized view of the given doc attribute set.
|
static DocAttributeSet |
AttributeSetUtilities.unmodifiableView(DocAttributeSet
Creates an unmodifiable view of the given doc attribute set.
|
| Modifier and Type | Method and Description |
|---|---|
static DocAttributeSet |
AttributeSetUtilities.synchronizedView(DocAttributeSet
Creates a synchronized view of the given doc attribute set.
|
static DocAttributeSet |
AttributeSetUtilities.unmodifiableView(DocAttributeSet
Creates an unmodifiable view of the given doc attribute set.
|
| Constructor and Description | |
|---|---|
HashDocAttributeSet(DocAttributeSet
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.
|