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 ObjectgetNewValue()Gets the new property value.ObjectgetOldValue()Gets the old property value.MapPropertygetSource()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:ReactiveValueChangeEventGets the reactive value from which this event originates.- Overrides:
getSourcein classReactiveValueChangeEvent- Returns:
- the event source
-
-