Class SelectionListSelectionModel<E>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.ListSelectionModel

    public class SelectionListSelectionModel<E>
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addSelectionInterval​(int index0, int index1)  
      boolean isSelectedIndex​(int index)  
      void removeSelectionInterval​(int index0, int index1)  
      void setSelectionInterval​(int index0, int index1)  
      • Methods inherited from class javax.swing.DefaultListSelectionModel

        addListSelectionListener, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionMode, setValueIsAdjusting, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.swing.ListSelectionModel

        getSelectedIndices, getSelectedItemsCount
    • Constructor Detail

      • SelectionListSelectionModel

        public SelectionListSelectionModel​(javax.swing.ListModel model,
                                           MutableSelection<E> selection)
    • Method Detail

      • isSelectedIndex

        public boolean isSelectedIndex​(int index)
        Specified by:
        isSelectedIndex in interface javax.swing.ListSelectionModel
        Overrides:
        isSelectedIndex in class javax.swing.DefaultListSelectionModel
      • setSelectionInterval

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

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

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