Package io.jmix.ui.component
Interface HasValue<V>
- Type Parameters:
V
- value type
- All Superinterfaces:
Component
- 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
,FullTextFilter
,GrapesJsHtmlEditor
,GrapesJsNewsletterHtmlEditor
,GrapesJsWebpageHtmlEditor
,JpqlFilter<V>
,Label<V>
,MaskedField<V>
,MultiSelectList<V>
,NotificationsIndicator
,OptionsField<V,
,I> PasswordField
,ProgressBar
,PropertyFilter<V>
,RadioButtonGroup<I>
,ResizableTextArea<V>
,RichTextArea
,SearchField
,SelectList<V,
,I> SingleFilterComponent<V>
,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>
,WebdavDocumentUploadField
- All Known Implementing Classes:
AbstractField
,AbstractFileStorageUploadField
,AbstractSelectList
,AbstractSingleFileUploadField
,AbstractSingleFilterComponent
,AbstractSuggestionField
,AbstractTextArea
,AbstractValueComponent
,AbstractViewComponent
,CheckBoxGroupImpl
,CheckBoxImpl
,ColorPickerImpl
,ComboBoxImpl
,CurrencyFieldImpl
,DateFieldImpl
,DatePickerImpl
,EntityComboBoxImpl
,EntityLinkFieldImpl
,EntityPickerImpl
,EntitySuggestionFieldImpl
,FileStorageUploadFieldImpl
,FileUploadFieldImpl
,FullTextFilterImpl
,GrapesJsHtmlEditorImpl
,GrapesJsNewsletterHtmlEditorImpl
,GrapesJsWebpageHtmlEditorImpl
,JpqlFilterImpl
,LabelImpl
,MaskedFieldImpl
,MultiSelectListImpl
,NotificationsIndicatorImpl
,PasswordFieldImpl
,ProgressBarImpl
,PropertyFilterImpl
,RadioButtonGroupImpl
,ResizableTextAreaImpl
,RichTextAreaImpl
,SearchFieldImpl
,SingleSelectListImpl
,SliderImpl
,SourceCodeEditorImpl
,SuggestionFieldImpl
,TagFieldImpl
,TagPickerImpl
,TextAreaImpl
,TextFieldImpl
,TimeFieldImpl
,TwinColumnImpl
,ValuePickerImpl
,ValuesPickerImpl
,WebdavDocumentUploadFieldImpl
UI component having a value.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Describes value change event.Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
-
Field Summary
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionaddValueChangeListener
(Consumer<HasValue.ValueChangeEvent<V>> listener) default void
clear()
default V
getValue()
default boolean
isEmpty()
void
Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
-
Method Details
-
getValue
-
setValue
-
clear
default void clear() -
getEmptyValue
-
isEmpty
default boolean isEmpty() -
addValueChangeListener
-