An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed.
Note, that although PreferenceChangeEvent inherits Serializable interface from EventObject, it is not intended to be Serializable. Appropriate serialization methods are implemented to throw NotSerializableException.
An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed. Note, that although PreferenceChangeEvent inherits Serializable interface from EventObject, it is not intended to be Serializable. Appropriate serialization methods are implemented to throw NotSerializableException.
(->preference-change-event node key new-value)
Constructor.
Constructs a new PreferenceChangeEvent instance.
node - The Preferences node that emitted the event. - java.util.prefs.Preferences
key - The key of the preference that was changed. - java.lang.String
new-value - The new value of the preference, or null if the preference is being removed. - java.lang.String
Constructor. Constructs a new PreferenceChangeEvent instance. node - The Preferences node that emitted the event. - `java.util.prefs.Preferences` key - The key of the preference that was changed. - `java.lang.String` new-value - The new value of the preference, or null if the preference is being removed. - `java.lang.String`
(get-key this)
Returns the key of the preference that was changed.
returns: The key of the preference that was changed. - java.lang.String
Returns the key of the preference that was changed. returns: The key of the preference that was changed. - `java.lang.String`
(get-new-value this)
Returns the new value for the preference.
returns: The new value for the preference, or null if the
preference was removed. - java.lang.String
Returns the new value for the preference. returns: The new value for the preference, or null if the preference was removed. - `java.lang.String`
(get-node this)
Returns the preference node that emitted the event.
returns: The preference node that emitted the event. - java.util.prefs.Preferences
Returns the preference node that emitted the event. returns: The preference node that emitted the event. - `java.util.prefs.Preferences`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close