Reputation: 2235
JavaFx has
Bindings.bindBidirectional(p1,p2,converter)
for binding properties with a converter.
What is the approach in ScalaFx ? I only know that you can bind properties via
prop2 <==> prop1
but how to include a converter?
Thanks.
Upvotes: 0
Views: 208
Reputation: 1533
There is no special way in ScalaFX use binding with the converter. You can simply use the JavaFX method and pass in ScalaFX properties and a converter.
Upvotes: 2