jmri.jmrit.display.palette
Class MultiSensorItemPanel.MultiSensorSelectionModel
java.lang.Object
javax.swing.DefaultListSelectionModel
jmri.jmrit.display.palette.MultiSensorItemPanel.MultiSensorSelectionModel
- All Implemented Interfaces:
- Serializable, Cloneable, ListSelectionModel
- Enclosing class:
- MultiSensorItemPanel
protected class MultiSensorItemPanel.MultiSensorSelectionModel
- extends DefaultListSelectionModel
- See Also:
- Serialized Form
| 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 |
getSelections
protected ArrayList<NamedBean> getSelections()
getPositions
protected int[] getPositions()
getNextPosition
protected int getNextPosition()
setPositionRange
protected void setPositionRange(int size)
isSelectedIndex
public boolean isSelectedIndex(int index)
- DefaultListSelectionModel overrides
- Specified by:
isSelectedIndex in interface ListSelectionModel- Overrides:
isSelectedIndex in class DefaultListSelectionModel
clearSelection
public void clearSelection()
- Specified by:
clearSelection in interface ListSelectionModel- Overrides:
clearSelection in class DefaultListSelectionModel
addSelectionInterval
public void addSelectionInterval(int index0,
int index1)
- Specified by:
addSelectionInterval in interface ListSelectionModel- Overrides:
addSelectionInterval in class DefaultListSelectionModel
setSelectionInterval
public void setSelectionInterval(int row,
int index1)
- Specified by:
setSelectionInterval in interface ListSelectionModel- Overrides:
setSelectionInterval in class DefaultListSelectionModel
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: