fr.ifremer.coser.ui.selection.model
Class YearListModel
java.lang.Object
javax.swing.AbstractListModel
fr.ifremer.coser.ui.selection.model.YearListModel
- All Implemented Interfaces:
- CoserListModel, Serializable, ListModel
public class YearListModel
- extends AbstractListModel
- implements CoserListModel
Model pour list contenant la liste des années définies dans le projet et
en selection la liste des années définie pour la selection.
- Version:
- $Revision: 243 $
Last update : $Date: 2010-11-22 11:46:04 +0100 (lun., 22 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 |
years
protected List<String> years
YearListModel
public YearListModel()
getYears
public List<String> getYears()
setYears
public void setYears(List<String> years)
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt in interface ListModel
indexOf
public int indexOf(Object element)
- Description copied from interface:
CoserListModel
- Return index of element.
- Specified by:
indexOf in interface CoserListModel
- Parameters:
element - element to get index
- Returns:
- index of element
Copyright © 2010-2011 Ifremer. All Rights Reserved.