I am developing a desktop application with JUCE. It scans the user’s file-system for particular files and directories, and displays the information to the user using tables, detail panes and possibly other kinds of components. The TableListBox component is what I’m starting with to display and organize the data.
I’ve followed the TableListBoxTutorial project, which reads data from an XML file and populates the table. However, I’ve also watched David Rowland’s talk on using ValueTrees and have worked with his tutorial code, and this has some features that I think would be beneficial to my project later down the road, such as undo/redo.
I’ve concluded that ValueTree seems likely to be useful, but have had some trouble understanding the intricacies of their use and in particular how to populate a TableListBox with ValueTree data.
Overall, my question is whether ValueTrees are flexible enough to be used to populate various types of components with data in the form of strings, ints, doubles, dates/times, etc, for use with TableListBox and other types of GUI components? Is this their intended use?
Any information appreciated. Thanks!