fr.ifremer.coser.ui.selection.model
Class StrataListModel
java.lang.Object
javax.swing.AbstractListModel
fr.ifremer.coser.ui.selection.model.StrataListModel
- All Implemented Interfaces:
- CoserListModel, Serializable, ListModel
public class StrataListModel
- extends AbstractListModel
- implements CoserListModel
Model contenant la liste des noms de strates (utilisé dans le detail de selection).
- Version:
- $Revision: 243 $
Last update : $Date: 2010-11-22 11:46:04 +0100 (Mon, 22 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 |
strata
protected List<String> strata
StrataListModel
public StrataListModel()
getStrata
public List<String> getStrata()
setStrata
public void setStrata(List<String> strata)
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 element)
- Description copied from interface:
CoserListModel
- Return index of element.
- Specified by:
indexOf in interface CoserListModel
- Parameters:
element - element to get index
- Returns:
- index of element
Copyright © 2010-2012 Ifremer. All Rights Reserved.