Interface HasValueSource<V>

Type Parameters:
V - value type
All Known Subinterfaces:
CheckBox, CheckBoxGroup<I>, ColorPicker, ComboBox<V>, CurrencyField<V>, DateField<V>, DatePicker<V>, EntityComboBox<V>, EntityLinkField<V>, EntityPicker<V>, EntitySuggestionField<V>, Field<V>, FileStorageUploadField, FileUploadField, Image<T>, Label<V>, MaskedField<V>, MultiSelectList<V>, NotificationsIndicator, OptionsField<V,I>, PasswordField, ProgressBar, RadioButtonGroup<I>, ResizableTextArea<V>, RichTextArea, SelectList<V,I>, SingleSelectList<V>, Slider<V>, SourceCodeEditor, SuggestionField<V>, SuggestionFieldComponent<V,I>, TagField<V>, TagPicker<V>, TextArea<V>, TextField<V>, TextInputField<V>, TimeField<V>, TwinColumn<V>, ValuePicker<V>, ValuesPicker<V>, WebdavDocumentLink, WebdavDocumentUploadField, WebdavDocumentVersionLink
All Known Implementing Classes:
AbstractField, AbstractFileStorageUploadField, AbstractSelectList, AbstractSingleFileUploadField, AbstractSuggestionField, AbstractTextArea, AbstractValueComponent, AbstractViewComponent, CheckBoxGroupImpl, CheckBoxImpl, ColorPickerImpl, ComboBoxImpl, CurrencyFieldImpl, DateFieldImpl, DatePickerImpl, EntityComboBoxImpl, EntityLinkFieldImpl, EntityPickerImpl, EntitySuggestionFieldImpl, FileStorageUploadFieldImpl, FileUploadFieldImpl, ImageImpl, LabelImpl, MaskedFieldImpl, MultiSelectListImpl, NotificationsIndicatorImpl, PasswordFieldImpl, ProgressBarImpl, RadioButtonGroupImpl, ResizableTextAreaImpl, RichTextAreaImpl, SearchFieldImpl, SingleSelectListImpl, SliderImpl, SourceCodeEditorImpl, SuggestionFieldImpl, TagFieldImpl, TagPickerImpl, TextAreaImpl, TextFieldImpl, TimeFieldImpl, TwinColumnImpl, ValuePickerImpl, ValuesPickerImpl, WebdavDocumentLinkImpl, WebdavDocumentUploadFieldImpl, WebdavDocumentVersionLinkImpl

public interface HasValueSource<V>
Data-aware component that supports data binding with ValueSource.
  • Method Details

    • setValueSource

      void setValueSource(@Nullable ValueSource<V> valueSource)
      Sets value source for component.
      Parameters:
      valueSource - value source
    • getValueSource

      @Nullable ValueSource<V> getValueSource()
      Returns:
      currently bound value source