com.isti.util.gui
Class IstiComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
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
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
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 |
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.
setElements
public void setElements(java.util.List list)
- Sets the elements.
- Parameters:
list
- the list of elements.