Is there a way to get all JavaFX property bindings?

The title says it all, but please clarify: if I add one or more bindings to a certain property, is there a way to get and examine them later? I would expect there is a getBindings () method in the Property class, but obviously not.

+6
source share
1 answer

Looking for a solution for this, I came to the conclusion that the getBindings () method probably does not exist, because there is no elegant way to implement it because Binding is a parameterized type. A workaround is to track the bindings yourself, but this is difficult to do without resorting to raw types. One way is to use a reseller template . BTW, the same goes for listeners and event handlers.

+1
source

All Articles