MarginType

scalafx.print.Printer.MarginType
See theMarginType companion class
object MarginType extends SFXEnumDelegateCompanion[MarginType, MarginType]

Companion Object for scalafx.print.Printer.MarginType.

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
MarginType.type

Members list

Type members

Classlikes

case object Default extends MarginType

This requests a default 0.75 inch margin on all sides.

This requests a default 0.75 inch margin on all sides.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class MarginType
trait SFXEnumDelegate[MarginType]
trait SFXDelegate[MarginType]
class Object
trait Matchable
class Any
Show all
Self type
Default.type
case object Equal extends MarginType

Choose the largest of the four hardware margins, and use that for all for margins, so that the margins are equal on all sides.

Choose the largest of the four hardware margins, and use that for all for margins, so that the margins are equal on all sides.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class MarginType
trait SFXEnumDelegate[MarginType]
trait SFXDelegate[MarginType]
class Object
trait Matchable
class Any
Show all
Self type
Equal.type
case object EqualOpposites extends MarginType

Similar to EQUAL, but it chooses the larger of the left/right hardware margins and top/bottom hardware margins separately, so that the top and bottom margins are equal, and the left and right margins are equal.

Similar to EQUAL, but it chooses the larger of the left/right hardware margins and top/bottom hardware margins separately, so that the top and bottom margins are equal, and the left and right margins are equal.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class MarginType
trait SFXEnumDelegate[MarginType]
trait SFXDelegate[MarginType]
class Object
trait Matchable
class Any
Show all
Self type
case object HardwareMinimum extends MarginType

Request margins are set to be the smallest on each side that the hardware allows.

Request margins are set to be the smallest on each side that the hardware allows.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class MarginType
trait SFXEnumDelegate[MarginType]
trait SFXDelegate[MarginType]
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def apply(e: MarginType): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion
def apply(name: String): S

Returns the enum constant of this type with the specified name.

Returns the enum constant of this type with the specified name.

Value parameters

name

the name of the constant to return

Attributes

Throws
IllegalArgumentException

If the specified enum type has no constant with the specified name, or the specified class object does not represent an enum type.

Inherited from:
SFXEnumDelegateCompanion
def jfxEnum2sfx(e: MarginType): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion

Inherited fields

lazy val values: List[MarginType]

Returns a List containing the constants of this enum type, in the order they are declared.

Returns a List containing the constants of this enum type, in the order they are declared.

Attributes

Inherited from:
SFXEnumDelegateCompanion

Implicits

Inherited implicits

implicit def sfxEnum2jfx(s: MarginType): E

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Value parameters

s

SFXEnumDelegate instance

Attributes

Returns

Delegated enum

Inherited from:
SFXEnumDelegateCompanion