core.prefs
Class PrefChangedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycore.prefs.PrefChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class PrefChangedEvent
extends java.util.EventObject

The event object thrown when a preference is changed.

Author:
hoele
See Also:
Serialized Form

Constructor Summary
PrefChangedEvent(java.lang.Object source, java.lang.String key)
          Creates a PrefChangedEvent.
 
Method Summary
 java.lang.String getKey()
          Returns the key of the changed pref.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrefChangedEvent

public PrefChangedEvent(java.lang.Object source,
                        java.lang.String key)
Creates a PrefChangedEvent.

Parameters:
source - The object firing the event.
key - The key of the changed pref.
Method Detail

getKey

public java.lang.String getKey()
Returns the key of the changed pref.

Returns:
The key of the changed pref.