public class BooksComboBoxModel extends BooksListModel implements ComboBoxModel
for license details.,
Serialized FormBooksListModel.CustomListDataListener| Modifier and Type | Field and Description |
|---|---|
protected org.crosswire.jsword.book.Book |
current
The currently selected version
|
private static long |
serialVersionUID
Serialization ID
|
books, comparatorlistenerList| Constructor and Description |
|---|
BooksComboBoxModel()
Basic Constructor
|
BooksComboBoxModel(org.crosswire.jsword.book.BookFilter filter)
Basic Constructor
|
BooksComboBoxModel(org.crosswire.jsword.book.BookFilter filter,
Comparator<org.crosswire.jsword.book.Book> comparator)
Basic Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.crosswire.jsword.book.Book |
getSelectedBook()
Get the selected Bible
|
Object |
getSelectedItem() |
protected void |
postCacheData() |
private void |
readObject(ObjectInputStream is)
Serialization support.
|
void |
setSelectedItem(Object selected) |
private void |
tryInitialSelection(org.crosswire.jsword.book.Book book) |
addListDataListener, cacheData, fireContentsChanged, getElementAt, getIndexOf, getSize, removeListDataListener, setFilterfireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, getElementAt, getSize, removeListDataListenerprotected transient org.crosswire.jsword.book.Book current
private static final long serialVersionUID
public BooksComboBoxModel()
public BooksComboBoxModel(org.crosswire.jsword.book.BookFilter filter)
public BooksComboBoxModel(org.crosswire.jsword.book.BookFilter filter,
Comparator<org.crosswire.jsword.book.Book> comparator)
private void tryInitialSelection(org.crosswire.jsword.book.Book book)
book - public void setSelectedItem(Object selected)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic org.crosswire.jsword.book.Book getSelectedBook()
protected final void postCacheData()
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is - IOExceptionClassNotFoundException