public class ObjectComboBoxComponentModel<T> extends ObjectListComponentModel<T> implements IComboBoxModel<T>, net.anwiba.commons.model.IObjectModel<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 |
set(T object) |
void |
setSelectedItem(Object item) |
add, addListModelListener, fireObjectAdded, fireObjectRemoved, getElementAt, getIndicesOf, getObject, getSize, remove, removeAll, removeListModelListeneraddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListModelListener, getIndicesOf, getObject, removeListModelListeneraddListDataListener, getElementAt, getSize, removeListDataListenerpublic 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.IObjectChangedNotifierCopyright © 2007–2017 Andreas Bartels. All rights reserved.