com.ontimize.gui.field
Class CustomComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
javax.swing.DefaultComboBoxModel
com.ontimize.gui.field.CustomComboBoxModel
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel, javax.swing.MutableComboBoxModel, java.io.Serializable
- public class CustomComboBoxModel
- extends javax.swing.DefaultComboBoxModel
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Methods inherited from class javax.swing.DefaultComboBoxModel |
addElement, getElementAt, getIndexOf, getSelectedItem, getSize, insertElementAt, setSelectedItem |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, 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 |
NULL_SELECTION
public static final java.lang.String NULL_SELECTION
- See Also:
- Constant Field Values
nullSelection
protected boolean nullSelection
CustomComboBoxModel
public CustomComboBoxModel()
CustomComboBoxModel
public CustomComboBoxModel(boolean nullSelection)
CustomComboBoxModel
public CustomComboBoxModel(java.util.Vector v)
CustomComboBoxModel
public CustomComboBoxModel(java.util.Vector v,
boolean nullSelection)
isNullSelection
public boolean isNullSelection()
setNullSelection
public void setNullSelection(boolean nullSelection)
removeAllElements
public void removeAllElements()
removeElement
public void removeElement(java.lang.Object ob)
removeElementAt
public void removeElementAt(int index)
setDataVector
public void setDataVector(java.util.Vector v)
fireIntervalAdded
protected void fireIntervalAdded(java.lang.Object source,
int index0,
int index1)
checkNullSelection
protected void checkNullSelection()