Interface PreferenceChangeEvent
-
- All Known Implementing Classes:
DefaultPreferenceChangeEvent
public interface PreferenceChangeEvent
Event triggered when a preference entry value changes.- Since:
- 12881
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
Returns the preference key.Setting<?>
getNewValue()
Returns the new preference value.Setting<?>
getOldValue()
Returns the old preference value.java.lang.Class<?>
getSource()
Returns the class source of this event.
-
-
-
Method Detail
-
getSource
java.lang.Class<?> getSource()
Returns the class source of this event.- Returns:
- The class source of this event
- Since:
- 14977
-
getKey
java.lang.String getKey()
Returns the preference key.- Returns:
- the preference key
-
getOldValue
Setting<?> getOldValue()
Returns the old preference value.- Returns:
- the old preference value
-
getNewValue
Setting<?> getNewValue()
Returns the new preference value.- Returns:
- the new preference value
-
-