cljfx

https://github.com/cljfx/cljfx
thom 2021-06-24T10:20:42.008700Z

has anyone here wrapped (and maybe even published) the ControlsFX CheckTreeView for use in cljfx? http://javadox.com/org.controlsfx/controlsfx/8.40.10/org/controlsfx/control/CheckTreeView.html. I think I can probably work it out based on the existing TreeView and how the MultipleSelectionModel is implemented but would be happy to do less work. 🙂

vlaaad 2021-06-24T11:09:33.009100Z

haven’t tried, you can use cljfx.composite/props and cljfx.composite/describe macros to wrap those, e.g. like https://github.com/cljfx/cljfx/blob/master/src/cljfx/fx/tree_view.clj#L28-L60. I also have a https://github.com/cljfx/cljfx/blob/master/dev/user.clj#L5 infer-props to infer some props from a given JavaFX class, that can help.