public class InstallManagerComboBoxModel extends AbstractListModel implements ComboBoxModel
for license details.
,
Serialized FormModifier 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, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
private 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 ComboBoxModel
public void setSelectedItem(Object selection)
setSelectedItem
in interface ComboBoxModel
public final Object getElementAt(int index)
getElementAt
in interface ListModel
protected final void update(org.crosswire.jsword.book.install.InstallerEvent ev)
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is
- IOException
ClassNotFoundException