| java.lang.Object java.util.EventObject java.util.prefs.PreferenceChangeEvent
Method Summary | |
public String | getKey() Get the changed preference's key. | public String | getNewValue() Get the new value of the changed preference, or null if this preference
is removed. | public Preferences | getNode() Get the Preferences instance that this event happened. |
PreferenceChangeEvent | public PreferenceChangeEvent(Preferences p, String k, String v)(Code) | | Construct a new PreferenceChangeEvent instance.
Parameters: p - the Preferences instance that this event happened, this object is considered as event's source. Parameters: k - the changed preference's key Parameters: v - the new value of the changed preference, this value can be null, which means the preference is removed. |
getKey | public String getKey()(Code) | | Get the changed preference's key.
the changed preference's key |
getNewValue | public String getNewValue()(Code) | | Get the new value of the changed preference, or null if this preference
is removed.
the new value of the changed preference, or null if this preference is removed. |
getNode | public Preferences getNode()(Code) | | Get the Preferences instance that this event happened.
the Preferences instance that this event happened. |
|
|