public class PopulationComboModel extends DefaultComboBoxModel<Population>
Population.
Pas de selection par defaut.| Modifier and Type | Field and Description |
|---|---|
protected List<Population> |
populations
Population list
|
listenerList| Constructor and Description |
|---|
PopulationComboModel(List<Population> populations)
Constructor with species list.
|
| Modifier and Type | Method and Description |
|---|---|
Population |
getElementAt(int index) |
int |
getSize() |
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected List<Population> populations
public PopulationComboModel(List<Population> populations)
populations - populations listpublic Population getElementAt(int index)
getElementAt in interface ListModel<Population>getElementAt in class DefaultComboBoxModel<Population>public int getSize()
getSize in interface ListModel<Population>getSize in class DefaultComboBoxModel<Population>Copyright © 1999–2014 CodeLutin. All rights reserved.