- Code: Select all
final CheckBoxTreeSelectionModel model = tree.getCheckBoxTreeSelectionModel();
final TreePath[] checked_paths = model.getSelectionPaths();
I need access to the raw tristate checkbox values, since I need to know whether a given node is partially selected. I haven't been able to find a way to get access to this via TreePath or DefaultMutableTreeNode, and am probably missing something obvious.
Thanks in advance for any pointers,
Peter