public class CheckBoxListSelectionModel
extends javax.swing.DefaultListSelectionModel
Constructor and Description |
---|
CheckBoxListSelectionModel() |
CheckBoxListSelectionModel(javax.swing.ListModel model) |
Modifier and Type | Method and Description |
---|---|
javax.swing.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(javax.swing.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(javax.swing.ListModel model)
public javax.swing.ListModel getModel()
public void setModel(javax.swing.ListModel model)
public void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval
in interface javax.swing.ListSelectionModel
insertIndexInterval
in class javax.swing.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.