Factory for [[scalafx.beans.property.ObjectProperty]] instances.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ObjectProperty.type
Members list
Value members
Concrete methods
Creates a new ObjectProperty.
Creates a new ObjectProperty.
Value parameters
- initialValue
-
the initial value.
Attributes
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.
Type parameters
- J
-
the JavaFX type of the value hold by this object property.
Value parameters
- value
-
the initial value.
Attributes
Creates a new ObjectProperty with its reference bean and name.
Creates a new ObjectProperty with its reference bean and name.
Value parameters
- bean
-
The bean of this
ObjectProperty - name
-
The name of this
ObjectProperty
Attributes
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.
Value parameters
- bean
-
The bean of this
ObjectProperty - initialValue
-
The initial value of the wrapped value
- name
-
The name of this
ObjectProperty
Attributes
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.
Type parameters
- J
-
the JavaFX type of the value hold by this object property.
Value parameters
- bean
-
The bean of this
ObjectProperty - initialValue
-
The initial value of the wrapped value
- name
-
The name of this
ObjectProperty
Attributes
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.
Type parameters
- J
-
ObjectPropertytype
Value parameters
- property
-
ObjectPropertyto be filled. - value
-
Value to be injected in
ObjectProperty, to avoid implicit conversion and NPE isvalueisnull.
Attributes
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.
Type parameters
- J
-
ObjectPropertytype
Value parameters
- property
-
ObjectPropertyto be filled. - value
-
Value to be injected in
ObjectProperty.
Attributes
Implicits
Implicits
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.
Value parameters
- op
-
ScalaFX's
ObjectProperty
Attributes
- Returns
-
JavaFX's
ObjectProperty, extracted from op's delegate.