Package docking.widgets.table
Interface SelectionManager
- 
- All Superinterfaces:
- java.util.EventListener,- javax.swing.ListSelectionModel,- javax.swing.event.TableModelListener
 - All Known Implementing Classes:
- RowObjectSelectionManager
 
 public interface SelectionManager extends javax.swing.ListSelectionModel, javax.swing.event.TableModelListenerA class to track and restore selections made in a table. We use this in the docking environment primarily due to the heavy usage of filtering for most tables. As tables are filtered, the contents change (and then change back when the filter is removed). It is nice to be able to filter a table, select an item of interest, and then unfilter the table to see that item in more context.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSelectionManagerListener(SelectionManagerListener listener)voidclearSavedSelection()voiddispose()voidremoveSelectionManagerListener(SelectionManagerListener listener)- 
Methods inherited from interface javax.swing.ListSelectionModeladdListSelectionListener, addSelectionInterval, clearSelection, getAnchorSelectionIndex, getLeadSelectionIndex, getMaxSelectionIndex, getMinSelectionIndex, getSelectedIndices, getSelectedItemsCount, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isSelectedIndex, isSelectionEmpty, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting
 
- 
 
- 
- 
- 
Method Detail- 
addSelectionManagerListenervoid addSelectionManagerListener(SelectionManagerListener listener) 
 - 
removeSelectionManagerListenervoid removeSelectionManagerListener(SelectionManagerListener listener) 
 - 
clearSavedSelectionvoid clearSavedSelection() 
 - 
disposevoid dispose() 
 
- 
 
-