E - type d'object gérépublic class GenericComboBoxModel<E> extends DefaultComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
protected List<E> |
objects |
listenerList| Constructor and Description |
|---|
GenericComboBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
int |
getSize() |
void |
setObjects(List<E> objects) |
addElement, getIndexOf, getSelectedItem, insertElementAt, removeAllElements, removeElement, removeElementAt, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic int getSize()
getSize in interface ListModelgetSize in class DefaultComboBoxModelpublic Object getElementAt(int index)
getElementAt in interface ListModelgetElementAt in class DefaultComboBoxModelCopyright © 2008–2015 CodeLutin. All rights reserved.