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.

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: KeyChangeEvent.java,v 1.3 2005/03/06 20:21:36 dmsmith Exp $
Author:
DM Smith [dmsmith555 at yahoo dot com]
See Also:
Licence, 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-2004