PrinterJob

object PrinterJob

Companion Object for scalafx.print.PrinterJob.

Companion Object for scalafx.print.PrinterJob.

Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

object JobStatus extends SFXEnumDelegateCompanion[JobStatus, JobStatus]

Companion Object for scalafx.print.PrinterJob.JobStatus.

Companion Object for scalafx.print.PrinterJob.JobStatus.

Companion
class
sealed abstract class JobStatus(val delegate: JobStatus) extends SFXEnumDelegate[JobStatus]

Value members

Concrete methods

Factory method to create a job. If there are no printers available, this will return null.

Factory method to create a job. If there are no printers available, this will return null.

Factory method to create a job for a specified printer.

Factory method to create a job for a specified printer.

Value Params
printer

to use for the job. If the printer is currently unavailable (e.g. offline) then this may return 'null'.

Returns

a new PrinterJob, or 'null'.

Deprecated methods

@deprecated(message = "Use createPrinterJob(Printer): PrinterJob instead", since = "8.0")
def createPrinterJob(printer: Printer): PrinterJob

Added just to satisfy Spec tests.

Added just to satisfy Spec tests.

Deprecated
[Since version 8.0] Use createPrinterJob(Printer): PrinterJob instead

Implicits

Implicits

implicit def sfxPrinterJob2jfx(pj: PrinterJob): PrinterJob

Converts a ScalaFX PrinterJob to its JavaFX counterpart.

Converts a ScalaFX PrinterJob to its JavaFX counterpart.

Value Params
pj

ScalaFX PrinterJob

Returns

JavaFX PrinterJob