Class JmixTextArea
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<C,T>
 
com.vaadin.flow.component.AbstractSinglePropertyField<R,T>
 
com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<com.vaadin.flow.component.textfield.TextArea,String>
 
com.vaadin.flow.component.textfield.TextArea
io.jmix.flowui.component.textarea.JmixTextArea
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.textfield.TextArea>,- com.vaadin.flow.component.CompositionNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.Focusable<com.vaadin.flow.component.textfield.TextArea>,- com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.textfield.TextArea>,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasHelper,- com.vaadin.flow.component.HasLabel,- com.vaadin.flow.component.HasSize,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.component.HasTheme,- com.vaadin.flow.component.HasValidation,- com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,,- String>, - String> - com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextArea,,- String>, - String> - com.vaadin.flow.component.InputNotifier,- com.vaadin.flow.component.KeyNotifier,- com.vaadin.flow.component.shared.HasAllowedCharPattern,- com.vaadin.flow.component.shared.HasClearButton,- com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.textfield.TextAreaVariant>,- com.vaadin.flow.component.shared.HasTooltip,- com.vaadin.flow.component.textfield.HasAutocapitalize,- com.vaadin.flow.component.textfield.HasAutocomplete,- com.vaadin.flow.component.textfield.HasAutocorrect,- com.vaadin.flow.component.textfield.HasPrefixAndSuffix,- com.vaadin.flow.data.binder.HasValidator<String>,- com.vaadin.flow.data.value.HasValueChangeMode,- HasRequired,- SupportsStatusChangeHandler<JmixTextArea>,- SupportsValidation<String>,- SupportsValueSource<String>,- Serializable,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware
public class JmixTextArea
extends com.vaadin.flow.component.textfield.TextArea
implements SupportsValueSource<String>, SupportsValidation<String>, SupportsStatusChangeHandler<JmixTextArea>, HasRequired, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextAreacom.vaadin.flow.component.textfield.GeneratedVaadinTextArea.ChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<R,?>>, com.vaadin.flow.component.textfield.GeneratedVaadinTextArea.InvalidChangeEvent<R extends com.vaadin.flow.component.textfield.GeneratedVaadinTextArea<R, ?>> Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractFieldcom.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V extends Object> Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifiercom.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifiercom.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValuecom.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>Nested classes/interfaces inherited from interface io.jmix.flowui.component.SupportsStatusChangeHandlerSupportsStatusChangeHandler.StatusContext<C extends com.vaadin.flow.component.Component>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected FieldDelegate<JmixTextArea,String, String> Fields inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalizeAUTOCAPITALIZE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocompleteAUTOCOMPLETE_ATTRIBUTEFields inherited from interface com.vaadin.flow.component.textfield.HasAutocorrectAUTOCORRECT_ATTRIBUTEFields inherited from interface io.jmix.flowui.component.HasRequiredPROPERTY_REQUIREDFields inherited from interface com.vaadin.flow.data.value.HasValueChangeModeDEFAULT_CHANGE_TIMEOUTFields inherited from interface io.jmix.flowui.component.SupportsValidationPROPERTY_ERROR_MESSAGE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddValidator(Validator<? super String> validator) voidprotected FieldDelegate<JmixTextArea,String, String> voidprotected voidbooleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetErrorMessage(String errorMessage) voidsetInvalid(boolean invalid) Sets invalid state to the field considering result of field validation.voidsetRequiredMessage(String requiredMessage) voidSets a callback to be used to handle component status changes, e.g.voidvoidsetValueSource(ValueSource<String> valueSource) voidvalidate()Methods inherited from class com.vaadin.flow.component.textfield.TextAreaaddThemeVariants, getDefaultValidator, getEmptyValue, getLabel, getMaxLength, getMinLength, getPattern, getPlaceholder, getValue, getValueChangeMode, getValueChangeTimeout, isAutofocus, isAutoselect, isFeatureFlagEnabled, isPreventInvalidInput, isRequired, onAttach, removeThemeVariants, setAutofocus, setAutoselect, setLabel, setMaxLength, setMinLength, setPattern, setPlaceholder, setPreventInvalidInput, setRequired, setRequiredIndicatorVisible, setValueChangeMode, setValueChangeTimeoutMethods inherited from class com.vaadin.flow.component.textfield.GeneratedVaadinTextAreaaddChangeListener, addInvalidChangeListener, addToPrefix, addToSuffix, addToTextarea, checkValidity, getAutocapitalizeString, getAutocompleteString, getAutocorrectString, getErrorMessageString, getLabelString, getMaxlengthDouble, getMinlengthDouble, getNameString, getPlaceholderString, isAutofocusBoolean, isAutoselectBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, remove, removeAll, setAutocapitalize, setAutocomplete, setAutocorrect, setDisabled, setMaxlength, setMinlength, setName, setReadonlyMethods inherited from class com.vaadin.flow.component.AbstractSinglePropertyFieldgetSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractFieldaddValueChangeListener, isEmpty, setModelValue, valueEqualsMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifieraddBlurListenerMethods inherited from interface com.vaadin.flow.component.CompositionNotifieraddCompositionEndListener, addCompositionStartListener, addCompositionUpdateListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.FocusableaddFocusShortcut, blur, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifieraddFocusListenerMethods inherited from interface com.vaadin.flow.component.shared.HasAllowedCharPatterngetAllowedCharPattern, setAllowedCharPatternMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocapitalizegetAutocapitalize, setAutocapitalizeMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocompletegetAutocomplete, setAutocompleteMethods inherited from interface com.vaadin.flow.component.textfield.HasAutocorrectisAutocorrect, setAutocorrectMethods inherited from interface com.vaadin.flow.component.shared.HasClearButtonisClearButtonVisible, setClearButtonVisibleMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasHelpergetHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.flow.component.textfield.HasPrefixAndSuffixgetPrefixComponent, getSuffixComponent, setPrefixComponent, setSuffixComponentMethods inherited from interface io.jmix.flowui.component.HasRequiredisRequired, setRequiredMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasThemeaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltipgetTooltip, setTooltipTextMethods inherited from interface com.vaadin.flow.data.binder.HasValidatoraddValidationStatusChangeListenerMethods inherited from interface com.vaadin.flow.component.HasValueclear, getOptionalValueMethods inherited from interface com.vaadin.flow.component.HasValueAndElementisReadOnly, isRequiredIndicatorVisible, setReadOnlyMethods inherited from interface com.vaadin.flow.component.InputNotifieraddInputListenerMethods inherited from interface com.vaadin.flow.component.KeyNotifieraddKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListener
- 
Field Details- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
fieldDelegate
 
- 
- 
Constructor Details- 
JmixTextAreapublic JmixTextArea()
 
- 
- 
Method Details- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
- Throws:
- org.springframework.beans.BeansException
 
- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
- Throws:
- Exception
 
- 
initComponentprotected void initComponent()
- 
createFieldDelegate
- 
addValidator- Specified by:
- addValidatorin interface- SupportsValidation<String>
 
- 
executeValidators- Specified by:
- executeValidatorsin interface- SupportsValidation<String>
- Throws:
- ValidationException
 
- 
validatepublic void validate()- Overrides:
- validatein class- com.vaadin.flow.component.textfield.TextArea
 
- 
isInvalidpublic boolean isInvalid()- Specified by:
- isInvalidin interface- com.vaadin.flow.component.HasValidation
- Overrides:
- isInvalidin class- com.vaadin.flow.component.textfield.TextArea
 
- 
setInvalidpublic void setInvalid(boolean invalid) Description copied from interface:SupportsValidationSets invalid state to the field considering result of field validation.- Invalid - false and validation passed - false = field is invalid
- Invalid - false and validation passed - true = field is valid
- Invalid - true and validation passed - false = field is invalid
- Invalid - true and validation passed - true = field is invalid
 - Specified by:
- setInvalidin interface- com.vaadin.flow.component.HasValidation
- Specified by:
- setInvalidin interface- SupportsValidation<String>
- Overrides:
- setInvalidin class- com.vaadin.flow.component.textfield.TextArea
- Parameters:
- invalid- whether field should be invalid
 
- 
getErrorMessage- Specified by:
- getErrorMessagein interface- com.vaadin.flow.component.HasValidation
- Specified by:
- getErrorMessagein interface- SupportsValidation<String>
- Overrides:
- getErrorMessagein class- com.vaadin.flow.component.textfield.TextArea
 
- 
setErrorMessage- Specified by:
- setErrorMessagein interface- com.vaadin.flow.component.HasValidation
- Specified by:
- setErrorMessagein interface- SupportsValidation<String>
- Overrides:
- setErrorMessagein class- com.vaadin.flow.component.textfield.TextArea
 
- 
setStatusChangeHandlerpublic void setStatusChangeHandler(@Nullable Consumer<SupportsStatusChangeHandler.StatusContext<JmixTextArea>> handler) Description copied from interface:SupportsStatusChangeHandlerSets a callback to be used to handle component status changes, e.g. validation messages set byHasValidation.setErrorMessage(String).- Specified by:
- setStatusChangeHandlerin interface- SupportsStatusChangeHandler<JmixTextArea>
- Parameters:
- handler- a handler to set
 
- 
getValueSource- Specified by:
- getValueSourcein interface- SupportsValueSource<String>
 
- 
setValueSource- Specified by:
- setValueSourcein interface- SupportsValueSource<String>
 
- 
getRequiredMessage- Specified by:
- getRequiredMessagein interface- HasRequired
 
- 
setRequiredMessage- Specified by:
- setRequiredMessagein interface- HasRequired
 
- 
setValue
 
-