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 Details

    • MapPropertyChangeEvent

      public MapPropertyChangeEvent(MapProperty source, Object oldValue, Object newValue)
      Creates a new map property change event.
      Parameters:
      source - the changed map property
      oldValue - the old value
      newValue - the new value
  • Method Details

    • 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 class ReactiveValueChangeEvent
      Returns:
      the event source