|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.bibledesktop.book.BibleComboBoxModelSet
public class BibleComboBoxModelSet
A set of correctly constructed and linked BibleComboBoxModels.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormNested Class Summary | |
---|---|
(package private) class |
BibleComboBoxModelSet.CustomItemListener
For when a selection is made |
Field Summary | |
---|---|
protected JComboBox |
cboBook
|
protected JComboBox |
cboChapter
|
private JComboBox |
cboVerse
|
private ItemListener |
cil
|
protected EventListenerList |
listeners
|
protected BibleComboBoxModel |
mdlBook
|
protected BibleComboBoxModel |
mdlChapter
|
protected BibleComboBoxModel |
mdlVerse
|
private static long |
serialVersionUID
Serialization ID |
private org.crosswire.jsword.passage.Verse |
verse
|
Constructor Summary | |
---|---|
BibleComboBoxModelSet(JComboBox books,
JComboBox chapters,
JComboBox verses)
|
Method Summary | |
---|---|
void |
addActionListener(ActionListener li)
Add a listener to the list that's notified each time a change to the data model occurs. |
protected void |
fireContentsChanged()
Called after the verse changes. |
org.crosswire.jsword.passage.Verse |
getVerse()
|
private void |
readObject(ObjectInputStream is)
Serialization support. |
void |
removeActionListener(ActionListener li)
Remove a listener from the list that's notified each time a change to the data model occurs. |
void |
setBookComboBox(JComboBox cboBook)
The book combo box |
void |
setChapterComboBox(JComboBox cboChapter)
The chapter combo box |
void |
setVerse(org.crosswire.jsword.passage.Verse newverse)
Set the combo-boxes to a new verse |
void |
setVerseComboBox(JComboBox cboVerse)
The verse combo box |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.crosswire.jsword.passage.Verse verse
protected JComboBox cboBook
protected JComboBox cboChapter
private JComboBox cboVerse
protected BibleComboBoxModel mdlBook
protected BibleComboBoxModel mdlChapter
protected BibleComboBoxModel mdlVerse
protected EventListenerList listeners
private transient ItemListener cil
private static final long serialVersionUID
Constructor Detail |
---|
public BibleComboBoxModelSet(JComboBox books, JComboBox chapters, JComboBox verses)
Method Detail |
---|
public final void setBookComboBox(JComboBox cboBook)
public final void setChapterComboBox(JComboBox cboChapter)
public final void setVerseComboBox(JComboBox cboVerse)
public org.crosswire.jsword.passage.Verse getVerse()
public void setVerse(org.crosswire.jsword.passage.Verse newverse)
public void addActionListener(ActionListener li)
li
- the ListDataListenerpublic void removeActionListener(ActionListener li)
li
- the ListDataListenerprotected void fireContentsChanged()
EventListenerList
,
DefaultListModel
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 |