fr.ifremer.coser.ui.project
Class ProjectNamesListModel
java.lang.Object
javax.swing.AbstractListModel
fr.ifremer.coser.ui.project.ProjectNamesListModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
public class ProjectNamesListModel
- extends AbstractListModel
- implements ComboBoxModel
Validation categories list model.
- Version:
- $Revision: 162 $
Last update : $Date: 2010-11-04 10:56:07 +0100 (jeu., 04 nov. 2010) $
By : $Author: chatellier $
- Author:
- chatellier
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
view
protected ProjectOpenView view
projects
protected List<String> projects
selectedItem
protected Object selectedItem
ProjectNamesListModel
public ProjectNamesListModel(ProjectOpenView view)
getProjects
public List<String> getProjects()
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt in interface ListModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem in interface ComboBoxModel
Copyright © 2010-2011 Ifremer. All Rights Reserved.