fr.ifremer.coser.ui.control
Class SpecyComboModel
java.lang.Object
javax.swing.AbstractListModel
fr.ifremer.coser.ui.control.SpecyComboModel
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
public class SpecyComboModel
- extends AbstractListModel
- implements ComboBoxModel
Model de selection d'especu utilise sur la dialog de graph pour
changer l'espece sur laquelle le graphique porte.
- Version:
- $Revision: 154 $
Last update : $Date: 2010-11-03 14:45:45 +0100 (Wed, 03 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 |
species
protected List<String> species
selectedItem
protected Object selectedItem
SpecyComboModel
public SpecyComboModel()
setSpecy
public void setSpecy(List<String> species)
getSize
public int getSize()
- Specified by:
getSize in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt in interface ListModel
getIndexOf
public int getIndexOf(Object o)
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem in interface ComboBoxModel
Copyright © 2010-2012 Ifremer. All Rights Reserved.