Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
Modifier and Type | Method and Description |
---|---|
static PrinterJob |
PrinterJob.createPrinterJob()
Factory method to create a job.
|
static PrinterJob |
PrinterJob.createPrinterJob(Printer printer)
Factory method to create a job for a specified printer.
|
Modifier and Type | Method and Description |
---|---|
void |
WebEngine.print(PrinterJob job)
Prints the current Web page using the given printer job.
|
void |
HTMLEditor.print(PrinterJob job)
Prints the content of the editor using the given printer job.
|
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 © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.