|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BookDataDisplay
An interface for all components that can display BookData.
for license details.
The copyright to this program is held by it's authors.
Field Summary | |
---|---|
static String |
COMPARE_BOOKS
Used by property change listeners to listen for when books should be compared. |
Method Summary | |
---|---|
void |
addKeyChangeListener(KeyChangeListener listener)
Add a listener for when the key changes. |
void |
addURIEventListener(URIEventListener listener)
Add a listener for when someone clicks on a browser 'link' |
void |
clearBookData()
Clear any BookData that is displayed. |
void |
copy()
Copy the selection to the clipboard |
Component |
getComponent()
Accessor for the Swing component |
org.crosswire.jsword.passage.Key |
getKey()
The Book Key that we are displaying, or null if we are not displaying anything |
void |
refresh()
Cause the BookData to be re-displayed. |
void |
removeKeyChangeListener(KeyChangeListener listener)
Remove a listener for when the key changes. |
void |
removeURIEventListener(URIEventListener listener)
Remove a listener for when someone clicks on a browser 'link' |
void |
setBookData(org.crosswire.jsword.book.Book[] books,
org.crosswire.jsword.passage.Key key)
Set the BookData to be displayed. |
void |
setCompareBooks(boolean compare)
Establish whether books in the book array should be compared. |
Methods inherited from interface org.crosswire.jsword.book.BookProvider |
---|
getBooks, getFirstBook |
Methods inherited from interface java.beans.PropertyChangeListener |
---|
propertyChange |
Field Detail |
---|
static final String COMPARE_BOOKS
Method Detail |
---|
void clearBookData()
setBookData(null, null)
.
void setBookData(org.crosswire.jsword.book.Book[] books, org.crosswire.jsword.passage.Key key)
books
- The Books to read data fromkey
- The key to read from the given bookvoid setCompareBooks(boolean compare)
compare
- org.crosswire.jsword.passage.Key getKey()
void refresh()
void copy()
void addKeyChangeListener(KeyChangeListener listener)
listener
- void removeKeyChangeListener(KeyChangeListener listener)
listener
- void addURIEventListener(URIEventListener listener)
listener
- The listener to addvoid removeURIEventListener(URIEventListener listener)
listener
- The listener to removeComponent getComponent()
|
Copyright ยจ 2003-2013 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |