org.homeunix.thecave.buddi.model.swing
Class SourceComboBoxModel
java.lang.Object
org.homeunix.thecave.buddi.model.swing.SourceComboBoxModel
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, javax.swing.ListModel
public class SourceComboBoxModel
- extends java.lang.Object
- implements javax.swing.ComboBoxModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceComboBoxModel
public SourceComboBoxModel(Document model,
boolean includeIncome)
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener in interface javax.swing.ListModel
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener in interface javax.swing.ListModel