Package | Description |
---|---|
javax.print |
Provides the principal classes and interfaces for the
JavaTM Print Service API.
|
javax.print.attribute |
Provides classes and interfaces
that describe the types of JavaTM Print
Service attributes and how they can be collected into attribute sets.
|
javax.print.event |
Package javax.print.event contains event classes and listener interfaces.
|
Modifier and Type | Method and Description |
---|---|
PrintJobAttributeSet |
DocPrintJob.getAttributes()
Obtains this Print Job's set of printing attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
DocPrintJob.addPrintJobAttributeListener(PrintJobAttributeListener listener,
PrintJobAttributeSet attributes)
Registers a listener for changes in the specified attributes.
|
Modifier and Type | Class and Description |
---|---|
class |
HashPrintJobAttributeSet
Class HashPrintJobAttributeSet provides an attribute set
which inherits its implementation from class
HashAttributeSet and enforces the semantic restrictions of interface
PrintJobAttributeSet . |
Modifier and Type | Method and Description |
---|---|
static PrintJobAttributeSet |
AttributeSetUtilities.synchronizedView(PrintJobAttributeSet attributeSet)
Creates a synchronized view of the given print job attribute set.
|
static PrintJobAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintJobAttributeSet attributeSet)
Creates an unmodifiable view of the given print job attribute set.
|
Modifier and Type | Method and Description |
---|---|
static PrintJobAttributeSet |
AttributeSetUtilities.synchronizedView(PrintJobAttributeSet attributeSet)
Creates a synchronized view of the given print job attribute set.
|
static PrintJobAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintJobAttributeSet attributeSet)
Creates an unmodifiable view of the given print job attribute set.
|
Constructor and Description |
---|
HashPrintJobAttributeSet(PrintJobAttributeSet 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
PrintJobAttribute interface. |
Modifier and Type | Method and Description |
---|---|
PrintJobAttributeSet |
PrintJobAttributeEvent.getAttributes()
Determine the printing attributes that changed and their new values.
|
Constructor and Description |
---|
PrintJobAttributeEvent(DocPrintJob source,
PrintJobAttributeSet attributes)
Constructs a PrintJobAttributeEvent object.
|
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.