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.TableModelListener
A 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSelectionManagerListener(SelectionManagerListener listener)
void
clearSavedSelection()
void
dispose()
void
removeSelectionManagerListener(SelectionManagerListener listener)
-
Methods inherited from interface javax.swing.ListSelectionModel
addListSelectionListener, addSelectionInterval, clearSelection, getAnchorSelectionIndex, getLeadSelectionIndex, getMaxSelectionIndex, getMinSelectionIndex, getSelectedIndices, getSelectedItemsCount, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isSelectedIndex, isSelectionEmpty, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting
-
-
-
-
Method Detail
-
addSelectionManagerListener
void addSelectionManagerListener(SelectionManagerListener listener)
-
removeSelectionManagerListener
void removeSelectionManagerListener(SelectionManagerListener listener)
-
clearSavedSelection
void clearSavedSelection()
-
dispose
void dispose()
-
-