orangy
map
one property to another? Say I have SimpleStringProperty
bound to textarea
, and I want to process it and bind the result to another control. E.g. simple word count application. How do I do it? I’m a bit lost with all the binding. I’m looking at samples, but they either use static content, or onChange
events. Can I write something like `textProperty().bind(textAreaProperty) { countWords(it).toString() }`or something like this? I think I understand the overall concept, but fail to find appropariate APIs