Class MapPropertyChangeEvent
- java.lang.Object
-
- com.vaadin.client.flow.reactive.ReactiveValueChangeEvent
-
- com.vaadin.client.flow.nodefeature.MapPropertyChangeEvent
-
public class MapPropertyChangeEvent extends ReactiveValueChangeEvent
Event fired when the value of a map property changes.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
-
Constructor Summary
Constructors Constructor Description MapPropertyChangeEvent(MapProperty source, Object oldValue, Object newValue)
Creates a new map property change event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getNewValue()
Gets the new property value.Object
getOldValue()
Gets the old property value.MapProperty
getSource()
Gets the reactive value from which this event originates.
-
-
-
Constructor Detail
-
MapPropertyChangeEvent
public MapPropertyChangeEvent(MapProperty source, Object oldValue, Object newValue)
Creates a new map property change event.- Parameters:
source
- the changed map propertyoldValue
- the old valuenewValue
- the new value
-
-
Method Detail
-
getOldValue
public Object getOldValue()
Gets the old property value.- Returns:
- the old value
-
getNewValue
public Object getNewValue()
Gets the new property value.- Returns:
- the new value
-
getSource
public MapProperty getSource()
Description copied from class:ReactiveValueChangeEvent
Gets the reactive value from which this event originates.- Overrides:
getSource
in classReactiveValueChangeEvent
- Returns:
- the event source
-
-