fr.ifremer.isisfish.ui.script
Class ScriptTypesComboModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by fr.ifremer.isisfish.ui.script.ScriptTypesComboModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel

public class ScriptTypesComboModel
extends javax.swing.DefaultComboBoxModel

Model pour la liste des scripts disponibles.

Version:
$Revision: 2693 $ Last update : $Date: 2009-10-26 16:19:57 +0100 (lun., 26 oct. 2009) $ By : $Author: chatellier $
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  java.util.List<ScriptAction.ScriptMapping> mappings
          Mapping list.
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ScriptTypesComboModel()
          Empty constructor.
 
Method Summary
 java.lang.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

mappings

protected java.util.List<ScriptAction.ScriptMapping> mappings
Mapping list.

Constructor Detail

ScriptTypesComboModel

public ScriptTypesComboModel()
Empty constructor.

Method Detail

getElementAt

public java.lang.Object getElementAt(int index)
Specified by:
getElementAt in interface javax.swing.ListModel
Overrides:
getElementAt in class javax.swing.DefaultComboBoxModel

getSize

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


Copyright © 1999-2010 CodeLutin. All Rights Reserved.