public class OccurrenceDensitySpeciesListModel extends AbstractListModel implements ListSelectionListener, CoserListModel
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.math.matrix.MatrixND |
density |
protected org.nuiton.math.matrix.MatrixND |
occurrence |
protected List<String> |
species |
listenerList| Constructor and Description |
|---|
OccurrenceDensitySpeciesListModel() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDensity(String specy) |
Object |
getElementAt(int index) |
double |
getOccurrence(String specy) |
int |
getSize() |
List<String> |
getSpecies() |
int |
indexOf(Object o)
Return index of element.
|
void |
setDensity(org.nuiton.math.matrix.MatrixND density) |
void |
setOccurrence(org.nuiton.math.matrix.MatrixND occurrence) |
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 org.nuiton.math.matrix.MatrixND occurrence
protected org.nuiton.math.matrix.MatrixND density
public void setOccurrence(org.nuiton.math.matrix.MatrixND occurrence)
public void setDensity(org.nuiton.math.matrix.MatrixND density)
public double getOccurrence(String specy)
public double getDensity(String specy)
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-2012 Ifremer. All Rights Reserved.