Package editor.search
Class SearchPanel.TreeSelectionHandler
- java.lang.Object
-
- editor.search.SearchPanel.TreeSelectionHandler
-
- All Implemented Interfaces:
java.util.EventListener,javax.swing.event.TreeSelectionListener
- Enclosing class:
- SearchPanel
private class SearchPanel.TreeSelectionHandler extends java.lang.Object implements javax.swing.event.TreeSelectionListener
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTreeSelectionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.List<SearchTree>getSelections()private voidremoveAncestors(SearchTree selection, java.util.List<SearchTree> selections)private booleanremoveDescendant(SearchTree newSelection, SearchTree csr)voidvalueChanged(javax.swing.event.TreeSelectionEvent e)
-
-
-
Method Detail
-
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChangedin interfacejavax.swing.event.TreeSelectionListener
-
removeDescendant
private boolean removeDescendant(SearchTree newSelection, SearchTree csr)
-
removeAncestors
private void removeAncestors(SearchTree selection, java.util.List<SearchTree> selections)
-
getSelections
private java.util.List<SearchTree> getSelections()
-
-