java.lang.Object
javafx.print.PaperSource
public final class PaperSource extends Object
A PaperSource is the input tray to be used for the Paper.
The enumerated values here cover many of the most common sources,
which may map to platform IDs. However there are also printer specific
tray names which may be in use. So queries of the supported paper
sources may include other values.
- Since:
- JavaFX 8.0
-
Field Summary
Fields Modifier and Type Field Description static PaperSourceAUTOMATICSpecify to automatically select the tray.static PaperSourceBOTTOMSpecify to select the BOTTOM tray.static PaperSourceENVELOPESpecify to select the ENVELOPE tray.static PaperSourceLARGE_CAPACITYSpecify to select the LARGE_CAPACITY tray.static PaperSourceMAINSpecify to select the MAIN tray.static PaperSourceMANUALSpecify to select the MANUAL tray.static PaperSourceMIDDLESpecify to select the MIDDLE tray.static PaperSourceSIDESpecify to select the SIDE tray.static PaperSourceTOPSpecify to select the TOP tray. -
Method Summary
-
Field Details
-
AUTOMATIC
Specify to automatically select the tray. -
MAIN
Specify to select the MAIN tray. -
MANUAL
Specify to select the MANUAL tray. -
BOTTOM
Specify to select the BOTTOM tray. -
MIDDLE
Specify to select the MIDDLE tray. -
TOP
Specify to select the TOP tray. -
SIDE
Specify to select the SIDE tray. -
ENVELOPE
Specify to select the ENVELOPE tray. -
LARGE_CAPACITY
Specify to select the LARGE_CAPACITY tray.
-
-
Method Details
-
getName
Returns the name of this paper source.- Returns:
- paper source name.
-