Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.spi.preferences;
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Event triggered when a preference entry value changes.
|
---|
6 | * @since 12881
|
---|
7 | */
|
---|
8 | public 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.