Code examples for PreferenceChangeEvent

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
70:	"value"); 
71:	assertEquals("key", event.getKey()); 
72:	assertEquals("value", event.getNewValue()); 
73:	assertSame(Preferences.userRoot(), event.getNode()); 
74:	assertSame(Preferences.userRoot(), event.getSource()); 
Full Snippet Info
6
CodeRank
42:	l.preferenceChange(new PreferenceChangeEvent(Preferences.userRoot(), 
43:	"", "")); 
Full Snippet Info
5
CodeRank
113:	evt.getNode().put(evt.getKey(), evt.getNewValue()); 
Full Snippet Info
5
CodeRank
39:	Preferences prefs = event.getNode(); 
40:	String prop = event.getKey(); 
Full Snippet Info
5
CodeRank
34:	Preferences prefs = event.getNode(); 
35:	String prop = event.getKey(); 
Full Snippet Info
5
CodeRank
34:	Preferences prefs = event.getNode(); 
35:	String prop = event.getKey(); 
Full Snippet Info
5
CodeRank
34:	Preferences prefs = event.getNode(); 
35:	String prop = event.getKey(); 
Full Snippet Info
5
CodeRank
60:	if (pce != null && pce.getNewValue().equals(Integer.toString(Integer.MAX_VALUE))) { 
-
63:	super.preferenceChange(pce); 
Full Snippet Info
4
CodeRank
42:	Preferences prefs = event.getNode(); 
43:	String prop = event.getKey(); 
Full Snippet Info
4
CodeRank
37:	Preferences prefs = event.getNode(); 
38:	String prop = event.getKey(); 
Full Snippet Info
4
CodeRank
37:	Preferences prefs = event.getNode(); 
38:	String prop = event.getKey(); 
Full Snippet Info
4
CodeRank
148:	PreferencePropertyValueModel.this.preferenceChanged(e.getKey(), e.getNewValue()); 
Full Snippet Info
4
CodeRank
26:	if (pce.getKey().equalsIgnoreCase("weekly_target_hours") 
27:	|| pce.getKey().equalsIgnoreCase("weekly_target_minutes")) { 
-
34:	if (pce.getKey().equalsIgnoreCase("max_history_records")) { 
Full Snippet Info
4
CodeRank
37:	Preferences prefs = event.getNode(); 
38:	String prop = event.getKey(); 
Full Snippet Info
4
CodeRank
92:	PreferencesRecentFilesManager.this.recentFilesChanged(evt.getKey(), evt.getNewValue()); 
Full Snippet Info
4
CodeRank
60:	if (pce != null && pce.getNewValue().equals(Integer.toString(Integer.MAX_VALUE))) { 
Full Snippet Info
4
CodeRank
35:	if (pce != null && pce.getKey().equals("key_int")) { 
Full Snippet Info
4
CodeRank
90:	if (pce != null && "mock".equals(pce.getNode().name())) { 
Full Snippet Info
4
CodeRank