org.crosswire.bibledesktop.book
Class DisplaySelectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.crosswire.bibledesktop.book.DisplaySelectEvent
All Implemented Interfaces:
Serializable

public class DisplaySelectEvent
extends EventObject

A DisplaySelectEvent happens whenever a user makes a command.

Distribution Licence:
JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The copyright to this program is held by it's authors.

Version:
$Id: DisplaySelectEvent.java,v 1.6 2005/03/06 20:21:36 dmsmith Exp $
Author:
Joe Walker [joe at eireneh dot com]
See Also:
Licence, Serialized Form

Field Summary
private  Book book
          The new Book
private  Key key
          The new passage
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DisplaySelectEvent(Object source, Key key, Book book)
          For when a command has been made
 
Method Summary
 Book getBook()
          Get the type of command
 Key getKey()
          Get the type of command
 
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

key

private Key key
The new passage


book

private Book book
The new Book


serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

DisplaySelectEvent

public DisplaySelectEvent(Object source,
                          Key key,
                          Book book)
For when a command has been made

Parameters:
source - The thing that started this off
key - The selected Key
book - The selected book
Method Detail

getKey

public Key getKey()
Get the type of command

Returns:
The type of command

getBook

public Book getBook()
Get the type of command

Returns:
The type of command

Copyright ? 2003-2004