ReadOnlyObjectWrapper

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](value: T): ReadOnlyObjectWrapper[T]

Creates a new ReadOnlyObjectWrapper instance with a given initial wrapped value.

Creates a new ReadOnlyObjectWrapper instance with a given initial wrapped value.

def apply[T](bean: Object, name: String, value: T): ReadOnlyObjectWrapper[T]

Creates a new ReadOnlyObjectWrapper instance with a given initial wrapped value.

Creates a new ReadOnlyObjectWrapper instance with a given initial wrapped value.

Type Params
T

type of the value hold by this object property.

Value Params
bean

The bean of this ReadOnlyObjectWrapper

name

The name of this ReadOnlyObjectWrapper

value

the initial value.

def apply[J <: Object](value: SFXDelegate[J]): ReadOnlyObjectWrapper[J]

Creates a new ReadOnlyObjectWrapper with a delegate as initial value.

Creates a new ReadOnlyObjectWrapper with a delegate as initial value.

Special case when value is an ScalaFX wrapper, to be used as a work around for Issue 14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.

Type Params
J

the JavaFX type of the value hold by this object property.

Value Params
value

the initial value, value.delegate is actually stored in this property.

def apply[J <: Object](bean: Object, name: String, value: SFXDelegate[J]): ReadOnlyObjectWrapper[J]

Creates a new ReadOnlyObjectWrapper with a scalafx.delegate.SFXDelegate as initial value.

Creates a new ReadOnlyObjectWrapper with a scalafx.delegate.SFXDelegate as initial value.

Special case when value is an ScalaFX wrapper, to be used as a work around for Issue 14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.

Type Params
J

the JavaFX type of the value hold by this object property.

Value Params
bean

The bean of this ReadOnlyObjectWrapper

name

The name of this ReadOnlyObjectWrapper

value

the initial value.

Implicits

Implicits

implicit def sfxReadOnlyObjectWrapper2jfx[T](roow: ReadOnlyObjectWrapper[T]): ReadOnlyObjectWrapper[T]