fr.ifremer.coser.ui.result
Class ZoneComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by fr.ifremer.coser.ui.result.ZoneComboBoxModel
All Implemented Interfaces:
Serializable, ComboBoxModel, ListModel, MutableComboBoxModel

public class ZoneComboBoxModel
extends DefaultComboBoxModel

Zone combo box model. Contains zone list defined in "matchzone" file common to web side and client side.

Version:
$Revision: 632 $ Last update : $Date: 2011-02-01 14:19:15 +0100 (Tue, 01 Feb 2011) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  DataStorage zonesMap
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ZoneComboBoxModel(WebService webService)
           
 
Method Summary
 Object getElementAt(int index)
           
 int getSize()
           
 String[] getZone(String zoneId)
           
 
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

zonesMap

protected DataStorage zonesMap
Constructor Detail

ZoneComboBoxModel

public ZoneComboBoxModel(WebService webService)
Method Detail

getSize

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

getElementAt

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

getZone

public String[] getZone(String zoneId)


Copyright © 2010-2012 Ifremer. All Rights Reserved.