private class AbstractGUIApplication.IpComboBoxModel
extends javax.swing.AbstractListModel
implements javax.swing.ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
private AbstractGUIApplication.PortComboBoxModel |
_portComboBoxModel |
private AbstractGUIApplication.PreferencesModel |
_preferencesModel |
| Constructor and Description |
|---|
IpComboBoxModel(AbstractGUIApplication.PreferencesModel preferencesModel,
AbstractGUIApplication.PortComboBoxModel portComboBoxModel) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getElementAt(int index) |
java.lang.Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(java.lang.Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerprivate final AbstractGUIApplication.PreferencesModel _preferencesModel
private final AbstractGUIApplication.PortComboBoxModel _portComboBoxModel
public IpComboBoxModel(AbstractGUIApplication.PreferencesModel preferencesModel, AbstractGUIApplication.PortComboBoxModel portComboBoxModel)
public int getSize()
getSize in interface javax.swing.ListModelpublic java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelpublic void setSelectedItem(java.lang.Object anItem)
setSelectedItem in interface javax.swing.ComboBoxModelpublic java.lang.Object getSelectedItem()
getSelectedItem in interface javax.swing.ComboBoxModel