0

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.

Marco
  • 2,189
  • 5
  • 25
  • 44

1 Answers1

2

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.

Jarek
  • 1,513
  • 9
  • 16