public class LeafAccountComboBoxModel extends AbstractListModel implements ComboBoxModel, ServiceListener
| Modifier and Type | Field and Description |
|---|---|
protected AccountService |
accountService |
protected List<Account> |
datasCache |
protected Object |
selectedAccount |
listenerList| Constructor and Description |
|---|
LeafAccountComboBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
List<Account> |
getDataList() |
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
notifyMethod(String serviceName,
String methodName) |
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 selectedAccount
protected AccountService accountService
public Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic void refresh()
public void notifyMethod(String serviceName, String methodName)
notifyMethod in interface ServiceListenerCopyright © 2008–2013 CodeLutin. All rights reserved.