|
||||||||||
| 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.| Nested 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 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. |
Verse |
getVerse()
|
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(Verse newverse)
Set the combo-boxes to a new verse |
void |
setVerseComboBox(JComboBox cboVerse)
The verse combo box |
protected void |
setViewedVerse(Verse newverse)
Sets the verse. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Verse verse
protected JComboBox cboBook
protected JComboBox cboChapter
private JComboBox cboVerse
protected BibleComboBoxModel mdlBook
protected BibleComboBoxModel mdlChapter
protected BibleComboBoxModel mdlVerse
protected EventListenerList listeners
private ItemListener cil
| 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 Verse getVerse()
protected void setViewedVerse(Verse newverse)
newverse - The verse to setpublic void setVerse(Verse newverse)
public void addActionListener(ActionListener li)
li - the ListDataListenerpublic void removeActionListener(ActionListener li)
li - the ListDataListenerprotected void fireContentsChanged()
EventListenerList,
DefaultListModel
|
Copyright ยจ 2003-2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||