public class EntryBookComboBoxModel extends AbstractListModel implements ComboBoxModel, ServiceListener
| Modifier and Type | Field and Description |
|---|---|
protected List<EntryBook> |
cacheDatas |
protected EntryBookService |
entryBookService |
protected Object |
selectedEntryBook |
listenerList| Constructor and Description |
|---|
EntryBookComboBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
List<EntryBook> |
getDataList()
get the accounts list
|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
notifyMethod(String serviceName,
String methodeName) |
void |
refresh() |
void |
setSelectedItem(Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected Object selectedEntryBook
protected EntryBookService entryBookService
public Object getElementAt(int index)
getElementAt in interface ListModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void refresh()
public void notifyMethod(String serviceName, String methodeName)
notifyMethod in interface ServiceListenerCopyright © 2008–2013 CodeLutin. All rights reserved.