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, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprivate int selectedIdx
private final List<ComparePairType> compareModes
public ComparePairListModel()
public Object getElementAt(int index)
getElementAt in interface ListModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic ComparePairType getSelectedComparePair()