public class AbstractListMergeModel.ComparePairListModel extends javax.swing.AbstractListModel<ComparePairType> implements javax.swing.ComboBoxModel<ComparePairType>
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<ComparePairType> |
compareModes |
private int |
selectedIdx |
| Constructor and Description |
|---|
ComparePairListModel()
Constructs a new
ComparePairListModel. |
| Modifier and Type | Method and Description |
|---|---|
ComparePairType |
getElementAt(int index) |
ComparePairType |
getSelectedComparePair() |
java.lang.Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(java.lang.Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerprivate int selectedIdx
private final java.util.List<ComparePairType> compareModes
public ComparePairListModel()
ComparePairListModel.public ComparePairType getElementAt(int index)
getElementAt in interface javax.swing.ListModel<ComparePairType>public int getSize()
getSize in interface javax.swing.ListModel<ComparePairType>public java.lang.Object getSelectedItem()
getSelectedItem in interface javax.swing.ComboBoxModel<ComparePairType>public void setSelectedItem(java.lang.Object anItem)
setSelectedItem in interface javax.swing.ComboBoxModel<ComparePairType>public ComparePairType getSelectedComparePair()