public class SpeciesTypesListModel extends AbstractListModel implements CoserListModel
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
types |
protected Map<String,String> |
typesComments |
protected SelectionDetailsView |
view |
listenerList| Constructor and Description |
|---|
SpeciesTypesListModel(SelectionDetailsView view) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment(String species)
Get species comment (used in renderer).
|
Object |
getElementAt(int index) |
int |
getSize() |
protected List<String> |
getTypes() |
int |
indexOf(Object element)
Return index of element.
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected SelectionDetailsView view
public SpeciesTypesListModel(SelectionDetailsView view)
public String getComment(String species)
species - speciespublic Object getElementAt(int index)
getElementAt in interface ListModelpublic int indexOf(Object element)
CoserListModelindexOf in interface CoserListModelelement - element to get indexCopyright © 2010–2014 Ifremer. All rights reserved.