Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
PageOrientation |
PrinterAttributes.getDefaultPageOrientation()
Return the default orientation for paper on this printer.
|
PageOrientation |
PageLayout.getPageOrientation() |
static PageOrientation |
PageOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageOrientation[] |
PageOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<PageOrientation> |
PrinterAttributes.getSupportedPageOrientations()
Returns an unmodifiable set of the supported orientations
for this printer.
|
Modifier and Type | Method and Description |
---|---|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
double lMargin,
double rMargin,
double tMargin,
double bMargin)
Obtain a new PageLayout for this printer using the specified
parameters.
|
PageLayout |
Printer.createPageLayout(Paper paper,
PageOrientation orient,
Printer.MarginType mType)
Obtain a new PageLayout instance for this printer using the specified
parameters.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.