Package io.jmix.flowui.data
Class ValueSource.ValueChangeEvent<V>
java.lang.Object
java.util.EventObject
io.jmix.flowui.data.ValueSource.ValueChangeEvent<V>
- Type Parameters:
V- value type
- All Implemented Interfaces:
Serializable
- Enclosing interface:
ValueSource<V>
An event that is fired when value of source is changed.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionValueChangeEvent(ValueSource<V> source, @Nullable V prevValue, @Nullable V value) -
Method Summary
Modifier and TypeMethodDescription@Nullable VReturns the previous value associated with theValueSource.@Nullable VgetValue()Returns the current value stored in theValueSource.Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ValueChangeEvent
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getPrevValue
Returns the previous value associated with theValueSource.- Returns:
- the previous value, or
nullif no previous value exists
-
getValue
Returns the current value stored in theValueSource.- Returns:
- the current value, or
nullif no value is set
-