fr.ifremer.isisfish.ui.input.setofvessels
Class EffortDescriptionListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultListModel
          extended by fr.ifremer.isisfish.ui.input.setofvessels.EffortDescriptionListModel
All Implemented Interfaces:
Serializable, ListModel

public class EffortDescriptionListModel
extends DefaultListModel

Model pour la liste des metiers de l'interface SetOfVessels.

Version:
$Revision: 3124 $ Last update : $Date: 2010-11-29 19:14:09 +0100 (lun., 29 nov. 2010) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  List<EffortDescription> effortDescriptions
          Listes des EffortDescription
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
EffortDescriptionListModel()
          Empty constructor.
EffortDescriptionListModel(List<EffortDescription> effortDescriptions)
          Constructor with effortDescriptions list.
 
Method Summary
 List<EffortDescription> getEffortDescriptions()
          Get effortDescriptions lists.
 Object getElementAt(int index)
           
 int getSize()
           
 void setEffortDescriptions(List<EffortDescription> effortDescriptions)
          Set effortDescriptions list.
 
Methods inherited from class javax.swing.DefaultListModel
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
 
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, wait, wait, wait
 

Field Detail

effortDescriptions

protected List<EffortDescription> effortDescriptions
Listes des EffortDescription

Constructor Detail

EffortDescriptionListModel

public EffortDescriptionListModel()
Empty constructor.


EffortDescriptionListModel

public EffortDescriptionListModel(List<EffortDescription> effortDescriptions)
Constructor with effortDescriptions list.

Parameters:
effortDescriptions - liste des effortDescriptions
Method Detail

getEffortDescriptions

public List<EffortDescription> getEffortDescriptions()
Get effortDescriptions lists.

Returns:
the effortDescriptions

setEffortDescriptions

public void setEffortDescriptions(List<EffortDescription> effortDescriptions)
Set effortDescriptions list.

Parameters:
effortDescriptions - the effortDescriptions list to set

getElementAt

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

getSize

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


Copyright © 1999-2011 CodeLutin. All Rights Reserved.