btw the Observable.onChange function does the oppo...
# tornadofx
w
btw the Observable.onChange function does the opposite. it does not replace, but add a handler/listener. thats not consistent for me.
g
you are correct - the distinction is that it is javafx which is inconsistent in this regard and TornadoFx is really just a wrapper around JavaFx and should be consistent with JavaFx semantics as much as possible
r
Not really, JavaFX refers to then as addListener and setListener, which makes sense. It's the shortened versions in TornadoFX that seem inconsistent.
👍 1