Class MultiSensorItemPanel.MultiSensorSelectionModel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int _nextPosition  
      (package private) int[] _positions  
      (package private) java.util.ArrayList<Sensor> _selections  
      (package private) PickListModel<Sensor> _tableModel  
      • 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)  
      void clearSelection()  
      protected int getNextPosition()  
      protected int[] getPositions()  
      protected java.util.ArrayList<Sensor> getSelections()  
      boolean isSelectedIndex​(int index)
      ************* DefaultListSelectionModel overrides *******************
      protected void setPositionRange​(int size)  
      void setSelectionInterval​(int row, int index1)  
      • Methods inherited from class javax.swing.DefaultListSelectionModel

        addListSelectionListener, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, 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
    • Method Detail

      • isSelectedIndex

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

        public void clearSelection()
        Specified by:
        clearSelection in interface javax.swing.ListSelectionModel
        Overrides:
        clearSelection 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
      • setSelectionInterval

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