fr.ifremer.coser.ui.control
Class ControlCategoryListModel

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

public class ControlCategoryListModel
extends DefaultComboBoxModel

Control data categories list model.

Version:
$Revision: 221 $ Last update : $Date: 2010-11-17 16:00:58 +0100 (mer., 17 nov. 2010) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  List<CoserConstants.Category> categories
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ControlCategoryListModel()
           
 
Method Summary
 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

categories

protected List<CoserConstants.Category> categories
Constructor Detail

ControlCategoryListModel

public ControlCategoryListModel()
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


Copyright © 2010-2011 Ifremer. All Rights Reserved.