Class LocalizedTextArea
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.customfield.CustomField<Map<Locale,String>>,Map<Locale,String>>
com.vaadin.flow.component.customfield.CustomField<Map<Locale,String>>
org.vaadin.firitin.components.customfield.VCustomField<Map<Locale,String>>
org.vaadin.firitin.fields.localized.LocalizedField<com.vaadin.flow.component.textfield.TextArea>
org.vaadin.firitin.fields.localized.LocalizedTextArea
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>> com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>> com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>> 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.customfield.CustomField<Map<Locale,,String>>, Map<Locale, String>>, Map<Locale, String>> com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>, Map<Locale, String>>, Map<Locale, String>> com.vaadin.flow.component.shared.HasTooltip,com.vaadin.flow.component.shared.HasValidationProperties,com.vaadin.flow.component.shared.InputField<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>, Map<Locale, String>>, Map<Locale, String>> Serializable,FluentAttachNotifier<VCustomField<Map<Locale,,String>>> FluentBlurNotifier<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>, VCustomField<Map<Locale, String>>> FluentComponent<VCustomField<Map<Locale,,String>>> FluentDetachNotifier<VCustomField<Map<Locale,,String>>> FluentFocusable<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>, VCustomField<Map<Locale, String>>> FluentFocusNotifier<com.vaadin.flow.component.customfield.CustomField<Map<Locale,,String>>, VCustomField<Map<Locale, String>>> FluentHasEnabled<VCustomField<Map<Locale,,String>>> FluentHasHelper<VCustomField<Map<Locale,,String>>> FluentHasSize<VCustomField<Map<Locale,,String>>> FluentHasTooltip<VCustomField<Map<Locale,,String>>> FluentHasValidation<VCustomField<Map<Locale,,String>>> FluentHasValueAndElement<VCustomField<Map<Locale,,String>>, com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Map<Locale, String>>, Map<Locale, String>>, Map<Locale, String>> FluentHasLabel<VCustomField<Map<Locale,String>>>
A
LocalizedField that edits each language version with a multi-line
TextArea.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V> Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>> -
Constructor Summary
ConstructorsConstructorDescriptionLocalizedTextArea(String label, List<Locale> locales) Creates a labeled field for the given languages.LocalizedTextArea(String label, Locale... locales) Creates a labeled field for the given languages.LocalizedTextArea(List<Locale> locales) Creates a field for the given languages.LocalizedTextArea(List<Locale> locales, int comboBoxThreshold) Creates a field for the given languages, switching to a combo box selector when there are more thancomboBoxThresholdof them.LocalizedTextArea(Locale... locales) Creates a field for the given languages. -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.textfield.TextAreacreateField(Locale locale) Creates the editor used to edit a single language.Methods inherited from class org.vaadin.firitin.fields.localized.LocalizedField
flagFor, generateModelValue, getDefaultComboBoxThreshold, getSelectedLocale, getTranslateButton, getTranslator, languageCodeMapConverter, languageName, onAttach, setDefaultComboBoxThreshold, setLabel, setPresentationValue, setSelectedLocale, setTranslator, tabLabel, translateButtonTextMethods inherited from class org.vaadin.firitin.components.customfield.VCustomField
withErrorMessage, withInvalidMethods inherited from class com.vaadin.flow.component.customfield.CustomField
add, addThemeVariants, getLabel, remove, removeThemeVariants, updateValueMethods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, bindValue, getEmptyValue, getValue, isEmpty, setModelValue, setValue, valueEqualsMethods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifier
addBlurListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentBlurNotifier
withBlurListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
navigate, setId, setVisible, withId, withVisibleMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusable
withTabIndexMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusNotifier
withFocusListenerMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabled
withEnabledMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelper
withHelperComponent, withHelperTextMethods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabel
withLabelMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
addResizeListener, withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidthMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasTooltip
withTooltipMethods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withReadOnly, withRequiredIndicatorVisible, withValue, withValueChangeListenerMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasHelper
bindHelperText, getHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.flow.component.HasLabel
getLabelMethods inherited from interface com.vaadin.flow.component.HasSize
bindHeight, bindWidth, getHeight, 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.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, bindThemeName, bindThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
getTooltip, setTooltipMarkdown, setTooltipTextMethods inherited from interface com.vaadin.flow.component.HasValidation
setManualValidationMethods inherited from interface com.vaadin.flow.component.shared.HasValidationProperties
getErrorMessage, isInvalid, setErrorMessage, setInvalidMethods inherited from interface com.vaadin.flow.component.HasValue
addValueChangeListener, bindValue, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, setValueMethods inherited from interface com.vaadin.flow.component.HasValueAndElement
bindReadOnly, bindRequiredIndicatorVisible, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible
-
Constructor Details
-
LocalizedTextArea
Creates a field for the given languages. -
LocalizedTextArea
Creates a field for the given languages. -
LocalizedTextArea
Creates a field for the given languages, switching to a combo box selector when there are more thancomboBoxThresholdof them. -
LocalizedTextArea
Creates a labeled field for the given languages. -
LocalizedTextArea
Creates a labeled field for the given languages.
-
-
Method Details
-
createField
Description copied from class:LocalizedFieldCreates the editor used to edit a single language. The aria label, value change mode, change listener and width are configured by the base class.- Specified by:
createFieldin classLocalizedField<com.vaadin.flow.component.textfield.TextArea>
-