public class ProjectNamesListModel extends AbstractListModel implements ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
projects |
protected Object |
selectedItem |
protected ProjectOpenView |
view |
listenerList| Constructor and Description |
|---|
ProjectNamesListModel(ProjectOpenView view) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
List<String> |
getProjects() |
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, removeListDataListenerprotected ProjectOpenView view
protected Object selectedItem
public ProjectNamesListModel(ProjectOpenView view)
public Object getElementAt(int index)
getElementAt in interface ListModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelCopyright © 2010-2013 Ifremer. All Rights Reserved.