fr.ifremer.coser.ui.selection.model
Class MaturitySpeciesListModel
java.lang.Object
javax.swing.AbstractListModel
fr.ifremer.coser.ui.selection.model.MaturitySpeciesListModel
- All Implemented Interfaces:
- CoserListModel, Serializable, EventListener, ListSelectionListener, ListModel
public class MaturitySpeciesListModel
- extends AbstractListModel
- implements ListSelectionListener, CoserListModel
Specy list model with size all year.
- Version:
- $Revision: 404 $
Last update : $Date: 2010-12-14 14:55:38 +0100 (mar., 14 déc. 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 |
species
protected List<String> species
maturitySpecies
protected Collection<String> maturitySpecies
MaturitySpeciesListModel
public MaturitySpeciesListModel()
getSpecies
public List<String> getSpecies()
setSpecies
public void setSpecies(List<String> species)
setMaturitySpecies
public void setMaturitySpecies(Collection<String> maturitySpecies)
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 o)
- Description copied from interface:
CoserListModel
- Return index of element.
- Specified by:
indexOf in interface CoserListModel
- Parameters:
o - element to get index
- Returns:
- index of element
valueChanged
public void valueChanged(ListSelectionEvent event)
- Specified by:
valueChanged in interface ListSelectionListener
Copyright © 2010-2011 Ifremer. All Rights Reserved.