Class JTreeTable.ListToTreeSelectionModelWrapper

  • All Implemented Interfaces:
    Serializable, Cloneable, TreeSelectionModel
    Enclosing class:
    JTreeTable

    public class JTreeTable.ListToTreeSelectionModelWrapper
    extends DefaultTreeSelectionModel
    ListToTreeSelectionModelWrapper extends DefaultTreeSelectionModel to listen for changes in the ListSelectionModel it maintains. Once a change in the ListSelectionModel happens, the paths are updated in the DefaultTreeSelectionModel.
    See Also:
    Serialized Form
    • Constructor Detail

      • ListToTreeSelectionModelWrapper

        public ListToTreeSelectionModelWrapper()
    • Method Detail

      • getListSelectionModel

        public ListSelectionModel getListSelectionModel()
        Returns the list selection model. ListToTreeSelectionModelWrapper listens for changes to this model and updates the selected paths accordingly.