APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.print

public final Class PaperSource

extends Object
Class Inheritance

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

Modifier and TypeField and Description
public static final PaperSource
AUTOMATIC

Specify to automatically select the tray.

public static final PaperSource
BOTTOM

Specify to select the BOTTOM tray.

public static final PaperSource
ENVELOPE

Specify to select the ENVELOPE tray.

public static final PaperSource
LARGE_CAPACITY

Specify to select the LARGE_CAPACITY tray.

public static final PaperSource
MAIN

Specify to select the MAIN tray.

public static final PaperSource
MANUAL

Specify to select the MANUAL tray.

public static final PaperSource
MIDDLE

Specify to select the MIDDLE tray.

private String
public static final PaperSource
SIDE

Specify to select the SIDE tray.

public static final PaperSource
TOP

Specify to select the TOP tray.

Constructor Summary

AccessConstructor and Description
pack-priv
PaperSource(String sourceName)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

paper source name.
getName
()

Returns the name of this paper source.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

AUTOMATICback to summary
public static final PaperSource AUTOMATIC

Specify to automatically select the tray.

BOTTOMback to summary
public static final PaperSource BOTTOM

Specify to select the BOTTOM tray.

ENVELOPEback to summary
public static final PaperSource ENVELOPE

Specify to select the ENVELOPE tray.

LARGE_CAPACITYback to summary
public static final PaperSource LARGE_CAPACITY

Specify to select the LARGE_CAPACITY tray.

MAINback to summary
public static final PaperSource MAIN

Specify to select the MAIN tray.

MANUALback to summary
public static final PaperSource MANUAL

Specify to select the MANUAL tray.

MIDDLEback to summary
public static final PaperSource MIDDLE

Specify to select the MIDDLE tray.

nameback to summary
private String name
SIDEback to summary
public static final PaperSource SIDE

Specify to select the SIDE tray.

TOPback to summary
public static final PaperSource TOP

Specify to select the TOP tray.

Constructor Detail

PaperSourceback to summary
pack-priv PaperSource(String sourceName)

Method Detail

getNameback to summary
public String getName()

Returns the name of this paper source.

Returns:String

paper source name.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override