Package fr.ifremer.isisfish.ui.script
Class ScriptTypesComboModel
java.lang.Object
javax.swing.AbstractListModel<E>
javax.swing.DefaultComboBoxModel<ScriptHandler.ScriptMapping>
fr.ifremer.isisfish.ui.script.ScriptTypesComboModel
- All Implemented Interfaces:
Serializable
,ComboBoxModel<ScriptHandler.ScriptMapping>
,ListModel<ScriptHandler.ScriptMapping>
,MutableComboBoxModel<ScriptHandler.ScriptMapping>
Model pour la liste des scripts disponibles.
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.DefaultComboBoxModel
addAll, addAll, 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 Details
-
mappings
Mapping list.
-
-
Constructor Details
-
ScriptTypesComboModel
public ScriptTypesComboModel()Empty constructor.
-
-
Method Details
-
getElementAt
- Specified by:
getElementAt
in interfaceListModel<ScriptHandler.ScriptMapping>
- Overrides:
getElementAt
in classDefaultComboBoxModel<ScriptHandler.ScriptMapping>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceListModel<ScriptHandler.ScriptMapping>
- Overrides:
getSize
in classDefaultComboBoxModel<ScriptHandler.ScriptMapping>
-