public class MutableCollectionComboBoxModel<T> extends CollectionComboBoxModel<T>
mySelection
Constructor and Description |
---|
MutableCollectionComboBoxModel() |
MutableCollectionComboBoxModel(java.util.List<T> items) |
MutableCollectionComboBoxModel(java.util.List<T> items,
T selection) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(T item) |
protected void |
fireIntervalAdded(java.lang.Object source,
int index0,
int index1) |
protected void |
fireIntervalRemoved(java.lang.Object source,
int index0,
int index1) |
void |
update(java.util.List<? extends T> items) |
getSelected, getSelectedItem, setSelectedItem, update
add, add, add, addAll, addRow, allContentsChanged, canExchangeRows, contains, contentsChanged, exchangeRows, getElementAt, getElementIndex, getInternalList, getItems, getSize, isEmpty, itemReplaced, remove, remove, removeAll, removeRange, removeRow, replaceAll, setElementAt, sort, toList, toString
addListDataListener, fireContentsChanged, getListDataListeners, getListeners, removeListDataListener
public MutableCollectionComboBoxModel(java.util.List<T> items)
public MutableCollectionComboBoxModel()
public void update(java.util.List<? extends T> items)
public void addItem(T item)
protected final void fireIntervalAdded(java.lang.Object source, int index0, int index1)
fireIntervalAdded
in class javax.swing.AbstractListModel<T>
protected final void fireIntervalRemoved(java.lang.Object source, int index0, int index1)
fireIntervalRemoved
in class javax.swing.AbstractListModel<T>