DimensionDelegate

scalafx.delegate.DimensionDelegate
See theDimensionDelegate companion object
trait DimensionDelegate[J <: Object & Dimensioned] extends SFXDelegate[J]

Trait that unifies JavaFX classes that contains properties indicating height and width, represented by heightProperty and widthProperty and their respective getter and setters.

Type parameters

J

Original JavaFX type that contains height and width properties.

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[J]
class Object
trait Matchable
class Any
Known subtypes
class BoxBlur
class ColorInput
class DropShadow
class InnerShadow
class Shadow
class Rectangle
Show all

Members list

Value members

Concrete methods

Indicates the height of object.

Indicates the height of object.

Attributes

def height_=(h: Double): Unit

Indicates the width of object.

Indicates the width of object.

Attributes

def width_=(w: Double): Unit

Inherited methods

def delegate: D

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

Inherited from:
SFXDelegate
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