Class TreeItems.ValueChangeEvent<T>

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

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

    • ValueChangeEvent

      public ValueChangeEvent(TreeItems<T> source, T item, String property, @Nullable Object prevValue, @Nullable Object value)
  • Method Details

    • getSource

      public TreeItems<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