fr.ifremer.isisfish.ui.models.analyzeplan
Class AnalyzePlanListModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by fr.ifremer.isisfish.ui.models.analyzeplan.AnalyzePlanListModel
All Implemented Interfaces:
Serializable, ListModel

public class AnalyzePlanListModel
extends AbstractListModel

Model pour la liste des instances de plans d'analyse.

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<AnalysePlan> plans
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
AnalyzePlanListModel()
          Empty constructor.
AnalyzePlanListModel(List<AnalysePlan> plans)
          Constructor with plan list.
 
Method Summary
 List<AnalysePlan> getAnalyzePlans()
          Get plans list.
 Object getElementAt(int index)
           
 int getSize()
           
 void setAnalyzePlan(List<AnalysePlan> plans)
          Set plans list.
 
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
 

Field Detail

plans

protected List<AnalysePlan> plans
Constructor Detail

AnalyzePlanListModel

public AnalyzePlanListModel()
Empty constructor.


AnalyzePlanListModel

public AnalyzePlanListModel(List<AnalysePlan> plans)
Constructor with plan list.

Parameters:
plans - plans
Method Detail

getAnalyzePlans

public List<AnalysePlan> getAnalyzePlans()
Get plans list.

Returns:
the plans

setAnalyzePlan

public void setAnalyzePlan(List<AnalysePlan> plans)
Set plans list.

Parameters:
plans - the plans to set

getElementAt

public Object getElementAt(int index)

getSize

public int getSize()


Copyright © 1999-2011 CodeLutin. All Rights Reserved.