Package io.jmix.flowui.model
Class InstanceContainer.ItemPropertyChangeEvent<T>
java.lang.Object
java.util.EventObject
io.jmix.flowui.model.InstanceContainer.ItemPropertyChangeEvent<T>
- All Implemented Interfaces:
Serializable
- Enclosing interface:
InstanceContainer<E>
Event sent on changing a property value of the contained entity instance.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionItemPropertyChangeEvent(InstanceContainer<T> container, T item, String property, @Nullable Object prevValue, @Nullable Object value) -
Method Summary
Modifier and TypeMethodDescriptiongetItem()Returns an entity instance which property value was changed.@Nullable ObjectReturns the previous value of the entity property.Returns the property name.Returns the container which sent the event.@Nullable ObjectgetValue()Returns the current value of the entity property.toString()
-
Constructor Details
-
ItemPropertyChangeEvent
-
-
Method Details
-
getSource
Returns the container which sent the event.- Overrides:
getSourcein classEventObject
-
getItem
Returns an entity instance which property value was changed. -
getProperty
Returns the property name. -
getPrevValue
Returns the previous value of the entity property. -
getValue
Returns the current value of the entity property. -
toString
- Overrides:
toStringin classEventObject
-