com.isti.util.gui
Class IstiComboBoxModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by javax.swing.DefaultComboBoxModel
          extended by com.isti.util.gui.IstiComboBoxModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel

public class IstiComboBoxModel
extends javax.swing.DefaultComboBoxModel

Class IstiComboBoxModel is an extension of DefaultComboBoxModel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
IstiComboBoxModel()
          Creates an IstiComboBoxModel.
IstiComboBoxModel(java.util.List list)
          Creates an IstiComboBoxModel.
IstiComboBoxModel(java.lang.Object[] elements)
          Creates an IstiComboBoxModel.
IstiComboBoxModel(java.util.Vector vector)
          Creates an IstiComboBoxModel.
 
Method Summary
 void setElements(java.util.List list)
          Sets the elements.
 
Methods inherited from class javax.swing.DefaultComboBoxModel
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, 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
 

Constructor Detail

IstiComboBoxModel

public IstiComboBoxModel()
Creates an IstiComboBoxModel.


IstiComboBoxModel

public IstiComboBoxModel(java.util.List list)
Creates an IstiComboBoxModel.

Parameters:
list - the list of initial elements.

IstiComboBoxModel

public IstiComboBoxModel(java.lang.Object[] elements)
Creates an IstiComboBoxModel.

Parameters:
elements - the initial elements.

IstiComboBoxModel

public IstiComboBoxModel(java.util.Vector vector)
Creates an IstiComboBoxModel.

Parameters:
vector - the vector of initial elements.
Method Detail

setElements

public void setElements(java.util.List list)
Sets the elements.

Parameters:
list - the list of elements.