JobSettings

scalafx.print.JobSettings
See theJobSettings companion object
final class JobSettings(val delegate: JobSettings) extends SFXDelegate[JobSettings]

Value parameters

delegate

JavaFX JobSettings. Since there is no public constructor for it, there is not a default value.

Attributes

Constructor

Creates a new ScalaFX JobSettings from its JavaFX counterpart.

Since

8.0

Companion
object
Graph
Supertypes
trait SFXDelegate[JobSettings]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def collation: ObjectProperty[Collation]

Property representing an instance of Collation.

Property representing an instance of Collation.

Attributes

IntegerProperty representing the number of copies of the job to print.

IntegerProperty representing the number of copies of the job to print.

Attributes

def copies_=(v: Int): Unit

StringProperty representing the name of a job.

StringProperty representing the name of a job.

Attributes

def jobName_=(v: String): Unit

A StringProperty representing the name of a filesystem file, to which the platform printer driver should spool the rendered print data.

A StringProperty representing the name of a filesystem file, to which the platform printer driver should spool the rendered print data.

Applications can use this to programmatically request print-to-file behavior where the native print system is capable of spooling the output to a filesystem file, rather than the printer device.

This is often useful where the printer driver generates a format such as Postscript or PDF, and the application intends to distribute the result instead of printing it, or for some other reason the application does not want physical media (paper) emitted by the printer.

The default value is an empty string, which is interpreted as unset, equivalent to null, which means output is sent to the printer. So in order to reset to print to the printer, clear the value of this property by setting it to null or an empty string.

Additionally if the application displays a printer dialog which allows the user to specify a file destination, including altering an application specified file destination, the value of this property will reflect that user-specified choice, including clearing it to reset to print to the printer, if the user does so.

If the print system does not support print-to-file, then this setting will be ignored.

If the specified name specifies a non-existent path, or does not specify a user writable file, when printing the results are platform-dependent. Possible behaviours might include replacement with a default output file location, printing to the printer instead, or a platform printing error. If a SecurityManager is installed and it denies access to the specified file a SecurityException may be thrown.

Attributes

Returns

the name of a printer spool file

Since

17

def pageLayout: ObjectProperty[PageLayout]

Property representing an instance of PageLayout.

Property representing an instance of PageLayout.

Attributes

An ObjectProperty whose value represents the job pages to print as an array of PageRange.

An ObjectProperty whose value represents the job pages to print as an array of PageRange.

Attributes

def paperSource: ObjectProperty[PaperSource]

Property representing an instance of PaperSource.

Property representing an instance of PaperSource.

Attributes

def printColor: ObjectProperty[PrintColor]

Property representing an instance of PrintColor.

Property representing an instance of PrintColor.

Attributes

def printQuality: ObjectProperty[PrintQuality]

Property representing an instance of PrintQuality.

Property representing an instance of PrintQuality.

Attributes

def printResolution: ObjectProperty[PrintResolution]

Property representing an instance of PrintResolution.

Property representing an instance of PrintResolution.

Attributes

def printSides: ObjectProperty[PrintSides]

Property representing an instance of PrintSides.

Property representing an instance of PrintSides.

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: JobSettings

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes