public class InstallerFactoryComboBoxModel extends AbstractListModel implements ComboBoxModel
for license details.
,
Serialized FormModifier 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, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
private Object selection
private static final long serialVersionUID
public InstallerFactoryComboBoxModel(org.crosswire.jsword.book.install.InstallManager imanager)
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object selection)
setSelectedItem
in interface ComboBoxModel
public Object getElementAt(int index)
getElementAt
in interface ListModel