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.

Author:
Joe Walker [joe at eireneh dot com]
See Also:
for license details. The copyright to this program is held by it's authors., Serialized Form

Field Summary
private  Key key
          The new passage
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DisplaySelectEvent(BookProvider source, Key key)
          For when a command has been made
 
Method Summary
 BookProvider getBookProvider()
          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


serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

DisplaySelectEvent

public DisplaySelectEvent(BookProvider source,
                          Key key)
For when a command has been made

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

getKey

public Key getKey()
Get the type of command

Returns:
The type of command

getBookProvider

public BookProvider getBookProvider()
Get the type of command

Returns:
The type of command

Copyright ยจ 2003-2007