fr.ifremer.isisfish.ui.input.gear
Class PopulationComboModel

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

public class PopulationComboModel
extends javax.swing.DefaultComboBoxModel

Model pour la liste des Population. Pas de selection par defaut.

Version:
$Revision: 2729 $ Last update : $Date: 2009-11-02 17:27:43 +0100 (lun., 02 nov. 2009) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  java.util.List<Population> populations
          Population list
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
PopulationComboModel(java.util.List<Population> populations)
          Constructor with species list.
 
Method Summary
 java.lang.Object getElementAt(int index)
           
 int getSize()
           
 
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

populations

protected java.util.List<Population> populations
Population list

Constructor Detail

PopulationComboModel

public PopulationComboModel(java.util.List<Population> populations)
Constructor with species list.

Parameters:
populations - populations list
Method Detail

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel
Overrides:
getElementAt in class javax.swing.DefaultComboBoxModel

getSize

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.