fr.ifremer.isisfish.ui.input.population
Class PopulationSeasonInfoComboModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by fr.ifremer.isisfish.ui.input.population.PopulationSeasonInfoComboModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public class PopulationSeasonInfoComboModel
extends DefaultComboBoxModel

Model pour la liste des PopulationSeasonInfo.

Version:
$Revision: 2350 $ Last update : $Date: 2009-06-09 13:52:58 +0200 (mar. 09 juin 2009) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  List<PopulationSeasonInfo> populationSeasonInfos
          PopulationSeasonInfo list
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
PopulationSeasonInfoComboModel()
          Empty constructor.
PopulationSeasonInfoComboModel(List<PopulationSeasonInfo> populationSeasonInfos)
          Constructor with population season info list.
 
Method Summary
 Object getElementAt(int index)
           
 List<PopulationSeasonInfo> getPopulationSeasonInfos()
          Get population season info list.
 int getSize()
           
 void setPopulationSeasonInfos(List<PopulationSeasonInfo> populationSeasonInfos)
          Set population season info list.
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItem
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
 

Field Detail

populationSeasonInfos

protected List<PopulationSeasonInfo> populationSeasonInfos
PopulationSeasonInfo list

Constructor Detail

PopulationSeasonInfoComboModel

public PopulationSeasonInfoComboModel()
Empty constructor.


PopulationSeasonInfoComboModel

public PopulationSeasonInfoComboModel(List<PopulationSeasonInfo> populationSeasonInfos)
Constructor with population season info list.

Parameters:
populationSeasonInfos - population season info list
Method Detail

getPopulationSeasonInfos

public List<PopulationSeasonInfo> getPopulationSeasonInfos()
Get population season info list.

Returns:
population season info list

setPopulationSeasonInfos

public void setPopulationSeasonInfos(List<PopulationSeasonInfo> populationSeasonInfos)
Set population season info list.

Parameters:
populationSeasonInfos - the population season info list to set

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface ListModel
Overrides:
getElementAt in class DefaultComboBoxModel

getSize

public int getSize()
Specified by:
getSize in interface ListModel
Overrides:
getSize in class DefaultComboBoxModel


Copyright © 1999-2011 CodeLutin. All Rights Reserved.