| Package | Description |
|---|---|
| java.awt.print |
Provides classes and interfaces for a general printing API.
|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| javax.print.event |
Package javax.print.event contains event classes and listener interfaces.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
PrintService |
PrinterJob.getPrintService()
Returns the service (printer) for this printer job.
|
static PrintService |
PrinterJob.lookupPrintServices()
A convenience method which looks up 2D print services.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrinterJob.setPrintService(PrintService
Associate this PrinterJob with a new PrintService.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MultiDocPrintService
Interface MultiPrintService is the factory for a MultiDocPrintJob.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamPrintService
This class extends
PrintService and represents a print service that prints data in different formats to a client-provided output stream.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PrintService |
PrintServiceLookup.getDefaultPrintService()
Not called directly by applications.
|
PrintService |
DocPrintJob.getPrintService()
Determines the
PrintService object to which this print job object is bound.
|
abstract PrintService |
PrintServiceLookup.getPrintServices()
Not called directly by applications.
|
abstract PrintService |
PrintServiceLookup.getPrintServices(DocFlavor
Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
|
static PrintService |
PrintServiceLookup.lookupDefaultPrintService()
Locates the default print service for this environment.
|
static PrintService |
PrintServiceLookup.lookupPrintServices(DocFlavor
Locates print services capable of printing the specified
DocFlavor.
|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration
Presents a dialog to the user for selecting a print service (printer).
|
| Modifier and Type | Method and Description |
|---|---|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration
Presents a dialog to the user for selecting a print service (printer).
|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration
Presents a dialog to the user for selecting a print service (printer).
|
static boolean |
PrintServiceLookup.registerService(PrintService
Allows an application to directly register an instance of a class which implements a print service.
|
| Modifier and Type | Method and Description |
|---|---|
PrintService |
PrintServiceAttributeEvent.getPrintService()
Returns the print service.
|
| Constructor and Description | |
|---|---|
PrintServiceAttributeEvent(PrintService
Constructs a PrintServiceAttributeEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JTable.print(JTable
Prints this
JTable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
JTextComponent.print(MessageFormat
Prints the content of this
JTextComponent.
|