BorderWidths

scalafx.scene.layout.BorderWidths
See theBorderWidths companion object
class BorderWidths(val delegate: BorderWidths) extends SFXDelegate[BorderWidths]

Defines widths for four components (top, right, bottom, and left).

Attributes

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

Members list

Value members

Constructors

def this(width: Double)

Creates a new BorderWidths using the given width for all four borders, and treating this width as a literal value, and not a percentage.

Creates a new BorderWidths using the given width for all four borders, and treating this width as a literal value, and not a percentage.

Attributes

def this(top: Double, right: Double, bottom: Double, left: Double)

Creates a new BorderWidths with the specified widths for top, right, bottom, and left.

Creates a new BorderWidths with the specified widths for top, right, bottom, and left.

Attributes

def this(top: Double, right: Double, bottom: Double, left: Double, topAsPercentage: Boolean, rightAsPercentage: Boolean, bottomAsPercentage: Boolean, leftAsPercentage: Boolean)

Creates a new BorderWidths.

Creates a new BorderWidths.

Attributes

Concrete methods

def bottom: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the bottom of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the bottom of the border.

Attributes

def left: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the left of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the left of the border.

Attributes

def right: Double

The non-negative value (with the exception of AUTO) indicating the border thickness on the right of the border.

The non-negative value (with the exception of AUTO) indicating the border thickness on the right of the border.

Attributes

def top: Double

A non-negative value (with the exception of AUTO) indicating the border thickness on the top of the border.

A non-negative value (with the exception of AUTO) indicating the border thickness on the top of the border.

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes