Package io.jmix.flowui.data
Interface SupportsValueSource<V>
- Type Parameters:
V- the type of the value managed by the value source
- All Known Subinterfaces:
EntityMultiPickerComponent<E>,EntityPickerComponent<E>,PickerComponent<V>
- All Known Implementing Classes:
CodeEditor,EntityComboBox,EntityPicker,FileStorageUploadField,FileUploadField,JmixBigDecimalField,JmixCheckbox,JmixCheckboxGroup,JmixComboBox,JmixEmailField,JmixImage,JmixIntegerField,JmixMultiSelectComboBox,JmixMultiSelectComboBoxPicker,JmixMultiValuePicker,JmixNumberField,JmixPasswordField,JmixRadioButtonGroup,JmixSelect,JmixTextArea,JmixValuePicker,RichTextEditor,Switch,TwinColumn,TypedDatePicker,TypedDateTimePicker,TypedTextField,TypedTimePicker,WebdavDocumentLink,WebdavDocumentUploadField,WebdavDocumentVersionLink
public interface SupportsValueSource<V>
Interface defining a component or object that can be associated with a
ValueSource.
A ValueSource provides a mechanism for binding the component's value to a data source.-
Method Summary
Modifier and TypeMethodDescriptionReturns the currentValueSourceassociated with this component.voidsetValueSource(ValueSource<V> valueSource) Sets aValueSourcefor this component, allowing it to bind its value to a specified data source.
-
Method Details
-
getValueSource
Returns the currentValueSourceassociated with this component.- Returns:
- the associated
ValueSource, ornullif no value source is set
-
setValueSource
Sets aValueSourcefor this component, allowing it to bind its value to a specified data source.- Parameters:
valueSource- theValueSourceto be associated with this component, ornullto remove the current association
-