|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
org.crosswire.bibledesktop.book.BibleComboBoxModel
public class BibleComboBoxModel
for license details.
The copyright to this program is held by it's authors.,
Serialized Form| Nested Class Summary | |
|---|---|
protected static class |
BibleComboBoxModel.Level
The level of the book combo. |
| Field Summary | |
|---|---|
protected BibleComboBoxModel.Level |
level
Are we a book, chapter or verse selector |
private static org.slf4j.Logger |
log
The log stream |
private Object |
selected
What is currently selected? |
private static long |
serialVersionUID
Serialization ID |
private BibleComboBoxModelSet |
set
Shared settings |
private org.crosswire.jsword.versification.Versification |
v11n
|
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
protected |
BibleComboBoxModel(BibleComboBoxModelSet set,
BibleComboBoxModel.Level level)
Simple ctor for choosing verses |
| Method Summary | |
|---|---|
protected void |
fireContentsChanged(Object source,
int index0,
int index1)
|
Object |
getElementAt(int index)
|
Object |
getSelectedItem()
|
int |
getSize()
|
private void |
readObject(ObjectInputStream is)
Serialization support. |
void |
setBook(org.crosswire.jsword.versification.BibleBook book)
Accessor for the book |
void |
setChapter(int chapter)
Accessor for the chapter |
void |
setSelectedItem(Object selected)
|
void |
setVerse(int verse)
Accessor for the chapter |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, removeListDataListener |
| Field Detail |
|---|
private transient org.crosswire.jsword.versification.Versification v11n
private transient BibleComboBoxModelSet set
private transient Object selected
protected BibleComboBoxModel.Level level
private static final org.slf4j.Logger log
private static final long serialVersionUID
| Constructor Detail |
|---|
protected BibleComboBoxModel(BibleComboBoxModelSet set,
BibleComboBoxModel.Level level)
| Method Detail |
|---|
public void setSelectedItem(Object selected)
setSelectedItem in interface ComboBoxModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic int getSize()
getSize in interface ListModelpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic void setBook(org.crosswire.jsword.versification.BibleBook book)
public void setChapter(int chapter)
public void setVerse(int verse)
protected void fireContentsChanged(Object source,
int index0,
int index1)
fireContentsChanged in class AbstractListModel
private void readObject(ObjectInputStream is)
throws IOException,
ClassNotFoundException
is -
IOException
ClassNotFoundException
|
Copyright ยจ 2003-2013 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||