Hey Guys,
I recently implemented a change listener (on TextFieldTreeCell -- but that is not really relevant). One of the behaviors I wanted to do in the change listener was enable/disable a pseudoClass for the control.
if(is) delegate.pseudoClassStateChanged(highlighted,true) else delegate.pseudoClassStateChanged(highlighted,false)
I had to access the delegate directly for it and I just wondered things would be more elegant if it was exposed in the ScalaFX stuff. It is a method call right
on javafx.scene.Node, so pretty low in the hierarchy.
Forgive me if I don't really properly understand what is going on here. I am still new to ScalaFx.
Cheers,
David.