APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.print

public final Enum PageOrientation

extends Enum<PageOrientation>
Class Inheritance

Specifies the orientation of the media sheet for printed pages.
Since
JavaFX 8.0

Field Summary

Modifier and TypeField and Description
public static final PageOrientation
LANDSCAPE

The printable area's origin is at the bottom left of the paper.

public static final PageOrientation
PORTRAIT

The printable area's origin is at the top left of the paper.

public static final PageOrientation
REVERSE_LANDSCAPE

The printable area's origin is at the top right of the paper.

public static final PageOrientation
REVERSE_PORTRAIT

The printable area's origin is at the bottom right of the paper.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PageOrientation
public static PageOrientation[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LANDSCAPEback to summary
public static final PageOrientation LANDSCAPE

The printable area's origin is at the bottom left of the paper. X coordinates will increase along the long edge of the paper. Y coordinates will increase along the short edge of the paper.

PORTRAITback to summary
public static final PageOrientation PORTRAIT

The printable area's origin is at the top left of the paper. X coordinates will increase across the short edge of the paper. Y coordinates will increase along the long edge of the paper.

REVERSE_LANDSCAPEback to summary
public static final PageOrientation REVERSE_LANDSCAPE

The printable area's origin is at the top right of the paper. X coordinates will increase along the long edge of the paper. Y coordinates will increase along the short edge of the paper. i.e. rotated 180 degrees from LANDSCAPE.

REVERSE_PORTRAITback to summary
public static final PageOrientation REVERSE_PORTRAIT

The printable area's origin is at the bottom right of the paper. X coordinates will increase across the short edge of the paper. Y coordinates will increase along the long edge of the paper. i.e. rotated 180 degrees from PORTRAIT.

Constructor Detail

PageOrientationback to summary
private PageOrientation()

Method Detail

valueOfback to summary
public static PageOrientation valueOf(String name)
valuesback to summary
public static PageOrientation[] values()