Currently ScalaFX's ObjectProperty has to have type parameter that is a subtype
of AnyRef. Subtypes of AnyVal, like Int or Double, cannot be type parameters
for ObjectProperty. This is causing problems when interacting with JavaFX code.
For instance, jfxtras.org has a quite useful ListSpinner class that can have
Int values. It's value property is ObjectProperty[Int]. Currently it is not
possible to create ScalaFX ObjectProperty[Int], so there is no way to bind it
to ListSpinner[Int] value property.
ScalaFX ObjectProperty should accept AnyVal type parameters including Int and
Double.
Original issue reported on code.google.com by jpsacha on 1 Feb 2013 at 5:12
Original issue reported on code.google.com by
jpsacha
on 1 Feb 2013 at 5:12