Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
static Printer |
Printer.getDefaultPrinter()
Retrieve the default printer.
|
Printer |
PrinterJob.getPrinter()
Gets the printer currently associated with this job.
|
Modifier and Type | Method and Description |
---|---|
static ReadOnlyObjectProperty<Printer> |
Printer.defaultPrinterProperty()
A read only object property representing the current default printer.
|
static ObservableSet<Printer> |
Printer.getAllPrinters()
Retrieve the installed printers.
|
ObjectProperty<Printer> |
PrinterJob.printerProperty()
Property representing the
Printer for this job. |
Modifier and Type | Method and Description |
---|---|
static PrinterJob |
PrinterJob.createPrinterJob(Printer printer)
Factory method to create a job for a specified printer.
|
void |
PrinterJob.setPrinter(Printer printer)
Change the printer for this job.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.