Class DataGridItems.ValueChangeEvent<T>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.data.DataGridItems.ValueChangeEvent<T>
Type Parameters:
T - row item type
All Implemented Interfaces:
Serializable
Enclosing interface:
DataGridItems<T>

public static class DataGridItems.ValueChangeEvent<T> extends EventObject
An event that is fired when value of item property is changed.
See Also:
  • Constructor Details

  • Method Details

    • getSource

      public DataGridItems<T> getSource()
      Overrides:
      getSource in class EventObject
    • getItem

      public T getItem()
      Returns:
      the item which value is changed
    • getProperty

      public String getProperty()
      Returns:
      changed property name
    • getPrevValue

      @Nullable public Object getPrevValue()
      Returns:
      a previous value of the item property
    • getValue

      @Nullable public Object getValue()
      Returns:
      a new value of the item property