be.lassi.ui.util.table
Class RowSelectionModel
java.lang.Object
javax.swing.DefaultListSelectionModel
be.lassi.ui.util.table.RowSelectionModel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel
public class RowSelectionModel
- extends javax.swing.DefaultListSelectionModel
- See Also:
- Serialized Form
Fields inherited from class javax.swing.DefaultListSelectionModel |
leadAnchorNotificationEnabled, listenerList |
Fields inherited from interface javax.swing.ListSelectionModel |
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION |
Methods inherited from class javax.swing.DefaultListSelectionModel |
addListSelectionListener, addSelectionInterval, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RowSelectionModel
public RowSelectionModel()
getSelectedRowCount
public int getSelectedRowCount()
- Returns the number of selected rows.
- Returns:
- the number of selected rows, 0 if no rows are selected
getSelectedRows
public int[] getSelectedRows()