Printer

final class Printer(val delegate: Printer) extends SFXDelegate[Printer]
Value Params
delegate

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

Constructor

Creates a new ScalaFX Printer from its JavaFX counterpart.

Since

8.0

Companion
object
trait SFXDelegate[Printer]
class Object
trait Matchable
class Any

Value members

Concrete methods

def createPageLayout(paper: Paper, orient: PageOrientation, lMargin: Double, rMargin: Double, tMargin: Double, bMargin: Double): PageLayout

Obtain a new PageLayout for this printer using the specified parameters.

Obtain a new PageLayout for this printer using the specified parameters.

Value Params
bMargin

the bottom margin to use in pts.

lMargin

the left margin to use in pts.

orient

The orientation to use

paper

The paper to use

rMargin

the right margin to use in pts.

tMargin

the top margin to use in pts.

Returns

PageLayout based on the specified parameters.

def createPageLayout(paper: Paper, orient: PageOrientation, mType: MarginType): PageLayout

Obtain a new PageLayout instance for this printer using the specified parameters.

Obtain a new PageLayout instance for this printer using the specified parameters.

Value Params
mType
  • the margin type to use
orient
  • The orientation to use
paper
  • The paper to use
Returns

PageLayout based on the specified parameters.

the default page layout for this printer.

the default page layout for this printer.

def name: String

the name used by the underlying system to identify the printer to users and/or applications.

the name used by the underlying system to identify the printer to users and/or applications.

Retrieves the delegate object encapsulating the printer attributes and capabilities.

Retrieves the delegate object encapsulating the printer attributes and capabilities.

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: Printer