public class ObjectComboBoxComponentModel<T> extends ObjectListComponentModel<T> implements IComboBoxModel<T>
listenerList| Constructor and Description |
|---|
ObjectComboBoxComponentModel(List<T> objects) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeListener(net.anwiba.commons.model.IChangeableObjectListener listener) |
T |
get() |
Object |
getSelectedItem() |
void |
removeChangeListener(net.anwiba.commons.model.IChangeableObjectListener listener) |
void |
removeChangeListeners() |
void |
set(T object) |
void |
setSelectedItem(Object item) |
add, addListModelListener, fireObjectAdded, fireObjectRemoved, getElementAt, getIndicesOf, getObject, getSize, iterator, remove, removeAll, removeListModelListeneraddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListModelListener, getIndicesOf, getObject, removeListModelListeneraddListDataListener, getElementAt, getSize, removeListDataListenerforEach, iterator, spliteratorpublic void setSelectedItem(Object item)
setSelectedItem in interface ComboBoxModel<T>public Object getSelectedItem()
getSelectedItem in interface ComboBoxModel<T>public void addChangeListener(net.anwiba.commons.model.IChangeableObjectListener listener)
addChangeListener in interface net.anwiba.commons.model.IObjectChangedNotifierpublic void removeChangeListener(net.anwiba.commons.model.IChangeableObjectListener listener)
removeChangeListener in interface net.anwiba.commons.model.IObjectChangedNotifierpublic void removeChangeListeners()
removeChangeListeners in interface net.anwiba.commons.model.IObjectChangedNotifierpublic T get()
get in interface IObjectProvider<T>public void set(T object)
set in interface IObjectReceiver<T>Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.