Package io.jmix.flowui.data
Interface ValueSource<V>
- All Known Subinterfaces:
EntityValueSource<E,
V>
- All Known Implementing Classes:
ContainerValueSource
Data component holding a typed value.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An event that is fired when value of source is changed.Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registration
addValueChangeListener
(Consumer<ValueSource.ValueChangeEvent<V>> listener) Registers a new value change listener.getValue()
boolean
void
Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
-
Method Details
-
getValue
-
setValue
-
isReadOnly
boolean isReadOnly() -
addValueChangeListener
com.vaadin.flow.shared.Registration addValueChangeListener(Consumer<ValueSource.ValueChangeEvent<V>> listener) Registers a new value change listener.- Parameters:
listener
- the listener to be added- Returns:
- a registration object for removing an event listener added to a source
-