Class JTreeTable.ListToTreeSelectionModelWrapper
java.lang.Object
javax.swing.tree.DefaultTreeSelectionModel
org.mozilla.javascript.tools.debugger.treetable.JTreeTable.ListToTreeSelectionModelWrapper
- All Implemented Interfaces:
Serializable,Cloneable,TreeSelectionModel
- Enclosing class:
JTreeTable
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:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultTreeSelectionModel
SELECTION_MODE_PROPERTYFields inherited from interface javax.swing.tree.TreeSelectionModel
CONTIGUOUS_TREE_SELECTION, DISCONTIGUOUS_TREE_SELECTION, SINGLE_TREE_SELECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list selection model.voidThis is overridden to setupdatingListSelectionModeland message super.Methods inherited from class javax.swing.tree.DefaultTreeSelectionModel
addPropertyChangeListener, addSelectionPath, addSelectionPaths, addTreeSelectionListener, clearSelection, clone, getLeadSelectionPath, getLeadSelectionRow, getListeners, getMaxSelectionRow, getMinSelectionRow, getPropertyChangeListeners, getRowMapper, getSelectionCount, getSelectionMode, getSelectionPath, getSelectionPaths, getSelectionRows, getTreeSelectionListeners, isPathSelected, isRowSelected, isSelectionEmpty, removePropertyChangeListener, removeSelectionPath, removeSelectionPaths, removeTreeSelectionListener, setRowMapper, setSelectionMode, setSelectionPath, setSelectionPaths, toString
-
Constructor Details
-
ListToTreeSelectionModelWrapper
public ListToTreeSelectionModelWrapper()
-
-
Method Details
-
getListSelectionModel
Returns the list selection model. ListToTreeSelectionModelWrapper listens for changes to this model and updates the selected paths accordingly. -
resetRowSelection
public void resetRowSelection()This is overridden to setupdatingListSelectionModeland message super. This is the only place DefaultTreeSelectionModel alters the ListSelectionModel.- Specified by:
resetRowSelectionin interfaceTreeSelectionModel- Overrides:
resetRowSelectionin classDefaultTreeSelectionModel
-