com.jiexplorer.gui.thumb
Class JIToggleSelectionModel

java.lang.Object
  extended by javax.swing.DefaultListSelectionModel
      extended by com.jiexplorer.gui.thumb.JIToggleSelectionModel
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel

public class JIToggleSelectionModel
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
JIToggleSelectionModel()
           
 
Method Summary
 boolean isCntrlKey()
           
 boolean isShiftKey()
           
 void setCntrlKey(boolean cntrlKey)
           
 void setSelectionInterval(int index0, int index1)
           
 void setShiftKey(boolean shiftKey)
           
 void setValueIsAdjusting(boolean isAdjusting)
           
 
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, setSelectionMode, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JIToggleSelectionModel

public JIToggleSelectionModel()
Method Detail

setSelectionInterval

public void setSelectionInterval(int index0,
                                 int index1)
Specified by:
setSelectionInterval in interface javax.swing.ListSelectionModel
Overrides:
setSelectionInterval in class javax.swing.DefaultListSelectionModel

setValueIsAdjusting

public void setValueIsAdjusting(boolean isAdjusting)
Specified by:
setValueIsAdjusting in interface javax.swing.ListSelectionModel
Overrides:
setValueIsAdjusting in class javax.swing.DefaultListSelectionModel

isCntrlKey

public final boolean isCntrlKey()
Returns:
the cntrlKey

setCntrlKey

public final void setCntrlKey(boolean cntrlKey)
Parameters:
cntrlKey - the cntrlKey to set

isShiftKey

public final boolean isShiftKey()
Returns:
the shiftKey

setShiftKey

public final void setShiftKey(boolean shiftKey)
Parameters:
shiftKey - the shiftKey to set