public class ListMergeModel.ComparePairListModel extends AbstractListModel implements ComboBoxModel
Modifier and Type | Field and Description |
---|---|
private List<ComparePairType> |
compareModes |
private int |
selectedIdx |
listenerList
Constructor and Description |
---|
ComparePairListModel() |
Modifier and Type | Method and Description |
---|---|
Object |
getElementAt(int index) |
ComparePairType |
getSelectedComparePair() |
Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
private int selectedIdx
private final List<ComparePairType> compareModes
public ComparePairListModel()
public Object getElementAt(int index)
getElementAt
in interface ListModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel
public ComparePairType getSelectedComparePair()