fr.ifremer.isisfish.ui.input.model
Class ZoneListModel

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

public class ZoneListModel
extends DefaultListModel

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

Version:
$Revision: 3276 $ Last update : $Date: 2011-04-20 17:36:48 +0200 (Wed, 20 Apr 2011) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  List<Zone> zones
          Zones list
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ZoneListModel(List<Zone> zones)
          Constructor with zone list.
 
Method Summary
 Object getElementAt(int index)
           
 int getSize()
           
 
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

zones

protected List<Zone> zones
Zones list

Constructor Detail

ZoneListModel

public ZoneListModel(List<Zone> zones)
Constructor with zone list.

Parameters:
zones - zones list
Method Detail

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-2012 CodeLutin. All Rights Reserved.