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 |
---|---|
PrintServiceAttributeSet |
PrintService.getAttributes()
Obtains this print service's set of printer description attributes
giving this Print Service's status.
|
Modifier and Type | Class and Description |
---|---|
class |
HashPrintServiceAttributeSet
Class HashPrintServiceAttributeSet provides an attribute set
which inherits its implementation from class
HashAttributeSet and enforces the semantic restrictions of interface
PrintServiceAttributeSet . |
Modifier and Type | Method and Description |
---|---|
static PrintServiceAttributeSet |
AttributeSetUtilities.synchronizedView(PrintServiceAttributeSet attributeSet)
Creates a synchronized view of the given print service attribute set.
|
static PrintServiceAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintServiceAttributeSet attributeSet)
Creates an unmodifiable view of the given print service attribute set.
|
Modifier and Type | Method and Description |
---|---|
static PrintServiceAttributeSet |
AttributeSetUtilities.synchronizedView(PrintServiceAttributeSet attributeSet)
Creates a synchronized view of the given print service attribute set.
|
static PrintServiceAttributeSet |
AttributeSetUtilities.unmodifiableView(PrintServiceAttributeSet attributeSet)
Creates an unmodifiable view of the given print service attribute set.
|
Constructor and Description |
---|
HashPrintServiceAttributeSet(PrintServiceAttributeSet 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
PrintServiceAttribute interface. |
Modifier and Type | Method and Description |
---|---|
PrintServiceAttributeSet |
PrintServiceAttributeEvent.getAttributes()
Determine the printing service attributes that changed and their new
values.
|
Constructor and Description |
---|
PrintServiceAttributeEvent(PrintService source,
PrintServiceAttributeSet attributes)
Constructs a PrintServiceAttributeEvent 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.