To select an element, user can mouse click on the check box, or select one or several tree nodes and press SPACE key to toggle the check box selection for all selected tree nodes.
In order to retrieve which tree paths are selected, you need to call {@link #getCheckBoxTreeSelectionModel()}. It will return the selection model that keeps track of which tree paths have been checked. For example {@link CheckBoxTreeSelectionModel#getSelectionPaths()} will give the list of paths which have been checked.
|
|
|
|
|
|
|
|