API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.prefs. PreferenceChangeEvent View Source
Author(s)
Josh Bloch
Since
1.4
Version
1.7, 11/17/05
Serial
exclude
Hierarchy
 Object
      EventObject
          PreferenceChangeEvent
Implements
Subclasses
Description
public class PreferenceChangeEvent
  An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed.
Constructors
public PreferenceChangeEvent (Preferences node, String key, String newValue)
  Constructs a new PreferenceChangeEvent instance.
Methods
Hide/Show inherited methods
public String getKey ()
  Returns the key of the preference that was changed.
public String getNewValue ()
  Returns the new value for the preference.
public Preferences getNode ()
  Returns the preference node that emitted the event.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public String toString () [Inherited From EventObject]
  Returns a String representation of this EventObject.
Fields
Hide/Show inherited fields
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar