public class InstallerFactoryComboBoxModel extends AbstractListModel implements ComboBoxModel
for license details.,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private List<String> |
names
The list of installer names
|
private Object |
selection
The currently selected object
|
private static long |
serialVersionUID
Serialization ID
|
listenerList| Constructor and Description |
|---|
InstallerFactoryComboBoxModel(org.crosswire.jsword.book.install.InstallManager imanager)
Simple ctor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object selection) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprivate Object selection
private static final long serialVersionUID
public InstallerFactoryComboBoxModel(org.crosswire.jsword.book.install.InstallManager imanager)
public Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object selection)
setSelectedItem in interface ComboBoxModelpublic Object getElementAt(int index)
getElementAt in interface ListModel