com.biotools.meerkat.util
Class PreferenceChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.biotools.meerkat.util.PreferenceChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class PreferenceChangeEvent
extends java.util.EventObject

See Also:
Serialized Form

Constructor Summary
PreferenceChangeEvent(java.lang.Object source, java.lang.String key, java.lang.String val)
           
 
Method Summary
 java.lang.String getKey()
          Returns the key of the preference that was changed.
 java.lang.String getNewValue()
          Returns the new value for the preference.
 
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

PreferenceChangeEvent

public PreferenceChangeEvent(java.lang.Object source,
                             java.lang.String key,
                             java.lang.String val)
Method Detail

getKey

public java.lang.String getKey()
Returns the key of the preference that was changed.

Returns:
The key of the preference that was changed.

getNewValue

public java.lang.String getNewValue()
Returns the new value for the preference.

Returns:
The new value for the preference, or null if the preference was removed.