|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.crosswire.jsword.book.BooksEvent
public class BooksEvent
A BooksEvent is fired whenever a Bible is added or removed from the system.
for license details.
The copyright to this program is held by it's authors.,
Serialized Form| Field Summary | |
|---|---|
private boolean |
added
Is this an addition event? |
private Book |
book
The name of the changed Bible |
private static long |
serialVersionUID
Serialization ID |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
BooksEvent(Object source,
Book book,
boolean added)
Basic constructor |
|
| Method Summary | |
|---|---|
Book |
getBook()
Get the name of the changed Book |
boolean |
isAddition()
Is this an addition event? |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private boolean added
private transient Book book
private static final long serialVersionUID
| Constructor Detail |
|---|
public BooksEvent(Object source,
Book book,
boolean added)
book - The book of the changed Bible, or null if there is more than one change.added - True if the changed Bible is an addition.| Method Detail |
|---|
public Book getBook()
public boolean isAddition()
|
Copyright ยจ 2003-2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||