Printer

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

Value parameters

delegate

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

Attributes

Constructor

Creates a new ScalaFX Printer from its JavaFX counterpart.

Since

8.0

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

Members list

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 parameters

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.

Attributes

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 parameters

mType
  • the margin type to use
orient
  • The orientation to use
paper
  • The paper to use

Attributes

Returns

PageLayout based on the specified parameters.

the default page layout for this printer.

the default page layout for this printer.

Attributes

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.

Attributes

Retrieves the delegate object encapsulating the printer attributes and capabilities.

Retrieves the delegate object encapsulating the printer attributes and capabilities.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes