public class InstallManagerComboBoxModel extends AbstractListModel implements ComboBoxModel
for license details.,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
(package private) class |
InstallManagerComboBoxModel.CustomInstallerListener
Listens to the InstallManager for Installer changes
|
| Modifier and Type | Field and Description |
|---|---|
private org.crosswire.jsword.book.install.InstallManager |
imanager
The install manager that we are representing
|
private List<String> |
names
A cache of the names in the Install Manager
|
private Object |
selection
The currently selected object
|
private static long |
serialVersionUID
Serialization ID
|
listenerList| Constructor and Description |
|---|
InstallManagerComboBoxModel(org.crosswire.jsword.book.install.InstallManager imanager)
Simple ctor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
private void |
readObject(ObjectInputStream is)
Serialization support.
|
void |
setSelectedItem(Object selection) |
protected void |
update(org.crosswire.jsword.book.install.InstallerEvent ev)
Simple way to avoid eclipse private/protected warning
|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprivate Object selection
private transient org.crosswire.jsword.book.install.InstallManager imanager
private static final long serialVersionUID
public InstallManagerComboBoxModel(org.crosswire.jsword.book.install.InstallManager imanager)
public Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object selection)
setSelectedItem in interface ComboBoxModelpublic final Object getElementAt(int index)
getElementAt in interface ListModelprotected final void update(org.crosswire.jsword.book.install.InstallerEvent ev)
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is - IOExceptionClassNotFoundException