|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.book.AbstractBookList
public abstract class AbstractBookList
A basic implementation of BookList. The methods in this abstract class are duplicates of those in Books, so bugs fixed in one should be fixed in the other too.
The GNU Lesser General Public License for details.| Field Summary | |
|---|---|
private List<BooksListener> |
listeners
The list of listeners |
| Constructor Summary | |
|---|---|
AbstractBookList()
Build a default BookList |
|
| Method Summary | |
|---|---|
void |
addBooksListener(BooksListener li)
Add a BibleListener from our list of listeners |
protected void |
fireBooksChanged(Object source,
Book book,
boolean added)
Kick of an event sequence |
List<Book> |
getBooks(BookFilter filter)
Get a filtered list of all the Books. |
void |
removeBooksListener(BooksListener li)
Remove a BibleListener to our list of listeners |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.crosswire.jsword.book.BookList |
|---|
getBooks |
| Field Detail |
|---|
private List<BooksListener> listeners
| Constructor Detail |
|---|
public AbstractBookList()
| Method Detail |
|---|
public List<Book> getBooks(BookFilter filter)
BookList
getBooks in interface BookListfilter - the filter to apply to the list of books
BookFilterspublic void addBooksListener(BooksListener li)
BookList
addBooksListener in interface BookListli - interested listenerpublic void removeBooksListener(BooksListener li)
BookList
removeBooksListener in interface BookListli - disinterested listener
protected void fireBooksChanged(Object source,
Book book,
boolean added)
source - The event sourcebook - The changed Bookadded - Is it added?
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||