public class FiscalPeriodComboBoxModel extends AbstractListModel implements ComboBoxModel, ServiceListener
| Modifier and Type | Field and Description |
|---|---|
protected List<FiscalPeriod> |
datasCache |
protected FiscalPeriodService |
fiscalPeriodService |
protected Object |
selectedFiscalPeriod |
listenerList| Constructor and Description |
|---|
FiscalPeriodComboBoxModel() |
| Modifier and Type | Method and Description |
|---|---|
List<FiscalPeriod> |
getAllDataList() |
List<FiscalPeriod> |
getDataList() |
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
notifyMethod(String serviceName,
String methodeName) |
void |
refresh() |
void |
refreshAll() |
void |
setSelectedItem(Object anItem) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected Object selectedFiscalPeriod
protected FiscalPeriodService fiscalPeriodService
protected List<FiscalPeriod> datasCache
public Object getElementAt(int index)
getElementAt in interface ListModelpublic void setSelectedItem(Object anItem)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic List<FiscalPeriod> getDataList()
public List<FiscalPeriod> getAllDataList()
public void refresh()
public void refreshAll()
public void notifyMethod(String serviceName, String methodeName)
notifyMethod in interface ServiceListenerCopyright © 2008–2015 CodeLutin. All rights reserved.