org.crosswire.jsword.examples
Class APIExamples.MyBooksListener

java.lang.Object
  extended by org.crosswire.jsword.examples.APIExamples.MyBooksListener
All Implemented Interfaces:
EventListener, BooksListener
Enclosing class:
APIExamples

static class APIExamples.MyBooksListener
extends Object
implements BooksListener

A simple BooksListener that actually does nothing.


Constructor Summary
APIExamples.MyBooksListener()
           
 
Method Summary
 void bookAdded(BooksEvent ev)
          Called whenever a new Bible is added to the system.
 void bookRemoved(BooksEvent ev)
          Called whenever a Bible is removed from the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APIExamples.MyBooksListener

APIExamples.MyBooksListener()
Method Detail

bookAdded

public void bookAdded(BooksEvent ev)
Description copied from interface: BooksListener
Called whenever a new Bible is added to the system.

Specified by:
bookAdded in interface BooksListener
Parameters:
ev - A description of the change

bookRemoved

public void bookRemoved(BooksEvent ev)
Description copied from interface: BooksListener
Called whenever a Bible is removed from the system.

Specified by:
bookRemoved in interface BooksListener
Parameters:
ev - A description of the change

Copyright ? 2003-2011