public class CheckBoxListSelectionModel extends DefaultListSelectionModel
leadAnchorNotificationEnabled, listenerList
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
Constructor and Description |
---|
CheckBoxListSelectionModel() |
CheckBoxListSelectionModel(ListModel model) |
Modifier and Type | Method and Description |
---|---|
ListModel |
getModel() |
void |
insertIndexInterval(int index,
int length,
boolean before)
Overrides so that inserting a row will not be selected automatically if the row after it is selected.
|
void |
setModel(ListModel model) |
addListSelectionListener, addSelectionInterval, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting, toString
public CheckBoxListSelectionModel()
public CheckBoxListSelectionModel(ListModel model)
public ListModel getModel()
public void setModel(ListModel model)
public void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval
in interface ListSelectionModel
insertIndexInterval
in class DefaultListSelectionModel
index
- the index where the rows will be inserted.length
- the number of the rows that will be inserted.before
- it's before or after the index.