JIDE Common Layer 2.7.6

com.jidesoft.swing
Class CheckBoxListSelectionModel

java.lang.Object
  extended by javax.swing.DefaultListSelectionModel
      extended by com.jidesoft.swing.CheckBoxListSelectionModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel

public class CheckBoxListSelectionModel
extends javax.swing.DefaultListSelectionModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.DefaultListSelectionModel
leadAnchorNotificationEnabled, listenerList
 
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
 
Constructor Summary
CheckBoxListSelectionModel()
           
CheckBoxListSelectionModel(javax.swing.ListModel model)
           
 
Method Summary
 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)
           
 
Methods inherited from class javax.swing.DefaultListSelectionModel
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckBoxListSelectionModel

public CheckBoxListSelectionModel()

CheckBoxListSelectionModel

public CheckBoxListSelectionModel(javax.swing.ListModel model)
Method Detail

getModel

public javax.swing.ListModel getModel()

setModel

public void setModel(javax.swing.ListModel model)

insertIndexInterval

public 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.

Specified by:
insertIndexInterval in interface javax.swing.ListSelectionModel
Overrides:
insertIndexInterval in class javax.swing.DefaultListSelectionModel
Parameters:
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.

JIDE Common Layer 2.7.6