Package io.jmix.ui.model
Class InstanceContainer.ItemPropertyChangeEvent<T>
java.lang.Object
java.util.EventObject
io.jmix.ui.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
ConstructorDescriptionItemPropertyChangeEvent
(InstanceContainer<T> container, T item, String property, Object prevValue, Object value) -
Method Summary
Modifier and TypeMethodDescriptiongetItem()
Returns an entity instance which property value was changed.Returns the previous value of the entity property.Returns the property name.Returns the container which sent the event.getValue()
Returns the current value of the entity property.toString()
-
Constructor Details
-
ItemPropertyChangeEvent
-
-
Method Details
-
getSource
Returns the container which sent the event.- Overrides:
getSource
in 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:
toString
in classEventObject
-