public class SpecyComboModel extends AbstractListModel implements ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
protected Object |
selectedItem |
protected List<String> |
species |
listenerList| Constructor and Description |
|---|
SpecyComboModel() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
int |
getIndexOf(Object o) |
Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object anItem) |
void |
setSpecy(List<String> species) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic int getIndexOf(Object o)
public void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelCopyright © 2010–2014 Ifremer. All rights reserved.