source: josm/trunk/src/org/openstreetmap/josm/spi/preferences/PreferenceChangeEvent.java @ 12882

Last change on this file since 12882 was 12882, checked in by bastiK, 11 months ago

see #15229 - fix @since

File size: 590 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.spi.preferences;
3
4/**
5 * Event triggered when a preference entry value changes.
6 * @since 12881
7 */
8public interface PreferenceChangeEvent {
9
10    /**
11     * Returns the preference key.
12     * @return the preference key
13     */
14    String getKey();
15
16    /**
17     * Returns the old preference value.
18     * @return the old preference value
19     */
20    Setting<?> getOldValue();
21
22    /**
23     * Returns the new preference value.
24     * @return the new preference value
25     */
26    Setting<?> getNewValue();
27   
28}
Note: See TracBrowser for help on using the repository browser.