Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
PrintSides |
PrinterAttributes.getDefaultPrintSides()
Returns the default value for duplex settings.
|
PrintSides |
JobSettings.getPrintSides()
If a printer supports it, then a job may be printed on
both sides of the media (paper), ie duplex printing.
|
static PrintSides |
PrintSides.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrintSides[] |
PrintSides.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<PrintSides> |
PrinterAttributes.getSupportedPrintSides()
Returns an unmodifiable set of the supported duplex settings
for this printer.
|
ObjectProperty<PrintSides> |
JobSettings.printSidesProperty()
Property representing an instance of
PrintSides . |
Modifier and Type | Method and Description |
---|---|
void |
JobSettings.setPrintSides(PrintSides sides)
Set the
PrintSides property which controls
duplex printing. |
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, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.