PrinterJob

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

Value parameters

delegate

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

Attributes

Constructor

Creates a new ScalaFX PrinterJob from its JavaFX counterpart.

Since

8.0

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

Members list

Value members

Concrete methods

def cancelJob(): Unit

Cancel the underlying print job at the earliest opportunity.

Cancel the underlying print job at the earliest opportunity.

Attributes

If the job can be successfully spooled to the printer queue this will return true.

If the job can be successfully spooled to the printer queue this will return true.

Attributes

The JobSettings encapsulates all the API supported job configuration options such as number of copies, collation option, duplex option, etc.

The JobSettings encapsulates all the API supported job configuration options such as number of copies, collation option, duplex option, etc.

Attributes

A read only object property representing the current JobStatus

A read only object property representing the current JobStatus

Attributes

def printPage(node: Node): Boolean

Print the specified node.

Print the specified node.

Value parameters

node

The node to print.

Attributes

Returns

whether rendering was successful.

def printPage(pageLayout: PageLayout, node: Node): Boolean

Print the specified node using the specified page layout.

Print the specified node using the specified page layout.

Value parameters

node

The node to print.

pageLayout

Layout for this page.

Attributes

Returns

whether rendering was successful.

def printer: ObjectProperty[Printer]

Property representing the Printer for this job.

Property representing the Printer for this job.

Attributes

Displays a Page Setup dialog.

Displays a Page Setup dialog.

Value parameters

owner

owner to block input, or 'null'.

Attributes

Returns

false if the user opts to cancel the dialog, or the job is not in the new state. That is if it has already started, has failed, or has been cancelled, or ended.

Displays a Print Dialog.

Displays a Print Dialog.

Value parameters

owner

owner to which to block input, or 'null'.

Attributes

Returns

false if the user opts to cancel printing, or the job is not in the new state. That is if it has already started, has failed, or has been cancelled, or ended.

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: PrinterJob

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes