org.crosswire.bibledesktop.passage
Class KeyChangeEvent

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

public class KeyChangeEvent
extends EventObject

A KeyChangeEvent happens whenever a user changes a key.

Author:
DM Smith [dmsmith555 at yahoo 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 key
private static long serialVersionUID
          Serialization ID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
KeyChangeEvent(Object source, Key key)
          For when a key has been changed
 
Method Summary
 Key getKey()
          Get the key with its changes
 
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 key


serialVersionUID

private static final long serialVersionUID
Serialization ID

See Also:
Constant Field Values
Constructor Detail

KeyChangeEvent

public KeyChangeEvent(Object source,
                      Key key)
For when a key has been changed

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

getKey

public Key getKey()
Get the key with its changes

Returns:
the changed key

Copyright ยจ 2003-2007