Creates a new ObjectProperty
with with its reference bean and name and a scalafx.delegate.SFXDelegate as initial value.
Creates a new ObjectProperty
with with its reference bean and name and a scalafx.delegate.SFXDelegate as initial value.
Special case when value is an ScalaFX wrapper, to be used as a work around for https://github.com/scalafx/scalafx/issues/14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.
the JavaFX type of the value hold by this object property.
The bean of this ObjectProperty
The name of this ObjectProperty
The initial value of the wrapped value
Creates a new ObjectProperty
with with its reference bean and name and initial value.
Creates a new ObjectProperty
with with its reference bean and name and initial value.
The bean of this ObjectProperty
The name of this ObjectProperty
The initial value of the wrapped value
Creates a new ObjectProperty
with its reference bean and name.
Creates a new ObjectProperty
with its reference bean and name.
The bean of this ObjectProperty
The name of this ObjectProperty
Creates a new ObjectProperty
with a scalafx.delegate.SFXDelegate as initial value.
Creates a new ObjectProperty
with a scalafx.delegate.SFXDelegate as initial value.
Special case when value is an ScalaFX wrapper, to be used as a work around for https://github.com/scalafx/scalafx/issues/14. Created object property will have value type of the wrapped JavaFX type to simplify use with binding.
the JavaFX type of the value hold by this object property.
the initial value.
Creates a new ObjectProperty
.
Creates a new ObjectProperty
.
the initial value.
Helper method for setting a value of an ObjectProperty
,
it gracefully deals with value
that could be null
,
without causing NullPointerException
.
Helper method for setting a value of an ObjectProperty
,
it gracefully deals with value
that could be null
,
without causing NullPointerException
.
Handles situation when value
is of JavaFX type, to avoid implicit conversion and NPE is value
is null
.
ObjectProperty
type
ObjectProperty
to be filled.
Value to be injected in ObjectProperty
.
Helper method for setting a value of an ObjectProperty
,
it gracefully deals with value
that could be null
,
without causing NullPointerException
.
Helper method for setting a value of an ObjectProperty
,
it gracefully deals with value
that could be null
,
without causing NullPointerException
.
Handles situation when value
is of ScalaFX type, to avoid implicit conversion and NPE is value
is null
.
ObjectProperty
type
ObjectProperty
to be filled.
Value to be injected in ObjectProperty
, to avoid implicit conversion and NPE is value
is null
.
Implicit conversion from a ScalaFX's ObjectProperty
to a JavaFX's
ObjectProperty
, extracting its delegate.
Implicit conversion from a ScalaFX's ObjectProperty
to a JavaFX's
ObjectProperty
, extracting its delegate.
ScalaFX's ObjectProperty
JavaFX's ObjectProperty
, extracted from op's delegate.
Factory for
scalafx.beans.property.ObjectProperty
instances.