List of usage examples for java.util.prefs PreferenceChangeListener preferenceChange
void preferenceChange(PreferenceChangeEvent evt);
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 www . j a v a2 s . co m }
From source file:au.org.ala.delta.editor.model.EditorDataModel.java
@Override public void preferenceChange(PreferenceChangeEvent evt) { for (PreferenceChangeListener listener : _preferenceChangeListeners) { listener.preferenceChange(evt); }//from www .ja v a 2 s . c o m }