List of usage examples for java.util.prefs PreferenceChangeEvent PreferenceChangeEvent
public PreferenceChangeEvent(Preferences node, String key, String newValue)
From source file:com.igormaznitsa.ideamindmap.facet.InMemoryPreferenceNode.java
private void firePreferenceListeners(final String key, final String newValue) { final PreferenceChangeEvent event = new PreferenceChangeEvent(this, key, newValue); for (final PreferenceChangeListener l : this.preferenceChangeListeners) { l.preferenceChange(event);/*from w ww . j a v a 2s. c o m*/ } }