public class ExtendedComboBoxModel
extends javax.swing.DefaultComboBoxModel
Constructor and Description |
---|
ExtendedComboBoxModel() |
ExtendedComboBoxModel(java.lang.Object[] o) |
ExtendedComboBoxModel(java.util.Vector v) |
Modifier and Type | Method and Description |
---|---|
void |
addSortedElement(java.lang.Object o) |
java.lang.Object |
getElementAt(int i) |
int |
getIndexOf(java.lang.Object o) |
int |
getSize() |
void |
insertElementAt(java.lang.Object o,
int i) |
void |
removeAllElements() |
void |
removeElement(java.lang.Object o) |
void |
removeElementAt(int i) |
void |
setExtensionList(SortedListModel sortedListModel) |
addElement, getSelectedItem, setSelectedItem
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public ExtendedComboBoxModel()
public ExtendedComboBoxModel(java.lang.Object[] o)
public ExtendedComboBoxModel(java.util.Vector v)
public void setExtensionList(SortedListModel sortedListModel)
public java.lang.Object getElementAt(int i)
getElementAt
in interface javax.swing.ListModel
getElementAt
in class javax.swing.DefaultComboBoxModel
public int getSize()
getSize
in interface javax.swing.ListModel
getSize
in class javax.swing.DefaultComboBoxModel
public void insertElementAt(java.lang.Object o, int i)
insertElementAt
in interface javax.swing.MutableComboBoxModel
insertElementAt
in class javax.swing.DefaultComboBoxModel
public void removeAllElements()
removeAllElements
in class javax.swing.DefaultComboBoxModel
public void removeElement(java.lang.Object o)
removeElement
in interface javax.swing.MutableComboBoxModel
removeElement
in class javax.swing.DefaultComboBoxModel
public void removeElementAt(int i)
removeElementAt
in interface javax.swing.MutableComboBoxModel
removeElementAt
in class javax.swing.DefaultComboBoxModel
public void addSortedElement(java.lang.Object o)
public int getIndexOf(java.lang.Object o)
getIndexOf
in class javax.swing.DefaultComboBoxModel