public class SizeAllYearSpeciesListModel extends AbstractListModel implements ListSelectionListener, CoserListModel
| Modifier and Type | Field and Description |
|---|---|
protected Collection<String> |
sizeAllYearSpecies |
protected List<String> |
species |
listenerList| Constructor and Description |
|---|
SizeAllYearSpeciesListModel() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
int |
getSize() |
List<String> |
getSpecies() |
int |
indexOf(Object o)
Return index of element.
|
void |
setSizeAllYearSpecies(Collection<String> sizeAllYearSpecies) |
void |
setSpecies(List<String> species) |
void |
valueChanged(ListSelectionEvent event) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected Collection<String> sizeAllYearSpecies
public void setSizeAllYearSpecies(Collection<String> sizeAllYearSpecies)
public Object getElementAt(int index)
getElementAt in interface ListModelpublic int indexOf(Object o)
CoserListModelindexOf in interface CoserListModelo - element to get indexpublic void valueChanged(ListSelectionEvent event)
valueChanged in interface ListSelectionListenerCopyright © 2010-2013 Ifremer. All Rights Reserved.