Class AbstractProperty.ValueChangeEvent<T>
- java.lang.Object
-
- org.openstreetmap.josm.data.preferences.AbstractProperty.ValueChangeEvent<T>
-
- Type Parameters:
T
- property type
- Enclosing class:
- AbstractProperty<T>
public static class AbstractProperty.ValueChangeEvent<T> extends java.lang.Object
An event that is triggered if the value of a property changes.- Since:
- 10824
-
-
Field Summary
Fields Modifier and Type Field Description private PreferenceChangeEvent
base
private AbstractProperty<T>
source
-
Constructor Summary
Constructors Constructor Description ValueChangeEvent(PreferenceChangeEvent base, AbstractProperty<T> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferenceChangeEvent
getBaseEvent()
Get the base event.AbstractProperty<T>
getProperty()
Get the property that was changed
-
-
-
Field Detail
-
base
private final PreferenceChangeEvent base
-
source
private final AbstractProperty<T> source
-
-
Constructor Detail
-
ValueChangeEvent
ValueChangeEvent(PreferenceChangeEvent base, AbstractProperty<T> source)
-
-
Method Detail
-
getBaseEvent
public final PreferenceChangeEvent getBaseEvent()
Get the base event.- Returns:
- the base event
- Since:
- 11496
-
getProperty
public AbstractProperty<T> getProperty()
Get the property that was changed- Returns:
- The property.
-
-