Class JmixRichTextEditor
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<C,T>
 
com.vaadin.flow.component.AbstractSinglePropertyField<JmixRichTextEditor,String>
 
io.jmix.flowui.kit.component.richtexteditor.JmixRichTextEditor
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.CompositionNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasAriaLabel,- 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.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixRichTextEditor,,- String>, - String> - com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixRichTextEditor,,- String>, - String> - com.vaadin.flow.component.InputNotifier,- com.vaadin.flow.component.KeyNotifier,- com.vaadin.flow.component.shared.HasThemeVariant<RichTextEditorVariant>,- com.vaadin.flow.data.value.HasValueChangeMode,- Serializable
- Direct Known Subclasses:
- RichTextEditor
@Tag("jmix-rich-text-editor")
@JsModule("./src/rich-text-editor/jmix-rich-text-editor.js")
public class JmixRichTextEditor
extends com.vaadin.flow.component.AbstractSinglePropertyField<JmixRichTextEditor,String>
implements com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasTheme, com.vaadin.flow.component.HasLabel, com.vaadin.flow.component.HasHelper, com.vaadin.flow.component.shared.HasThemeVariant<RichTextEditorVariant>, com.vaadin.flow.component.HasAriaLabel, com.vaadin.flow.data.value.HasValueChangeMode, com.vaadin.flow.component.KeyNotifier, com.vaadin.flow.component.InputNotifier, com.vaadin.flow.component.CompositionNotifier 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThe internationalization properties forJmixRichTextEditor.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.HasValuecom.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.data.value.ValueChangeModeprotected JmixRichTextEditor.RichTextEditorI18nprotected static final StringFields inherited from interface com.vaadin.flow.data.value.HasValueChangeModeDEFAULT_CHANGE_TIMEOUT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetI18n()Gets the internationalization object previously set for this component.com.vaadin.flow.data.value.ValueChangeModeprotected voidprotected StringmodelToPresentation(String htmlValue) protected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) protected StringpresentationToModel(String htmlValue) protected voidrunBeforeClientResponse(com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.component.UI> command) protected StringvoidSets the internationalization properties for this component.protected voidsetPresentationValue(String newPresentationValue) voidsetValueChangeMode(com.vaadin.flow.data.value.ValueChangeMode valueChangeMode) Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyFieldgetSynchronizationRegistration, hasValidValue, setSynchronizedEventMethods inherited from class com.vaadin.flow.component.AbstractFieldaddValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, setValue, 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, removeFromParent, scrollIntoView, 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.CompositionNotifieraddCompositionEndListener, addCompositionStartListener, addCompositionUpdateListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabelgetAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods 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.HasLabelgetLabel, setLabelMethods 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.HasThemeVariantaddThemeVariants, removeThemeVariantsMethods inherited from interface com.vaadin.flow.component.HasValueclear, getOptionalValueMethods inherited from interface com.vaadin.flow.component.HasValueAndElementisReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisibleMethods inherited from interface com.vaadin.flow.data.value.HasValueChangeModegetValueChangeTimeout, setValueChangeTimeoutMethods inherited from interface com.vaadin.flow.component.InputNotifieraddInputListenerMethods inherited from interface com.vaadin.flow.component.KeyNotifieraddKeyDownListener, addKeyDownListener, addKeyPressListener, addKeyPressListener, addKeyUpListener, addKeyUpListener
- 
Field Details- 
PROPERTY_NAME- See Also:
 
- 
currentModeprotected com.vaadin.flow.data.value.ValueChangeMode currentMode
- 
i18n
 
- 
- 
Constructor Details- 
JmixRichTextEditorpublic JmixRichTextEditor()
 
- 
- 
Method Details- 
initComponentprotected void initComponent()
- 
onAttachprotected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
- onAttachin class- com.vaadin.flow.component.Component
 
- 
setPresentationValue- Overrides:
- setPresentationValuein class- com.vaadin.flow.component.AbstractSinglePropertyField<JmixRichTextEditor,- String> 
 
- 
presentationToModel
- 
modelToPresentation
- 
getValueChangeModepublic com.vaadin.flow.data.value.ValueChangeMode getValueChangeMode()The default value is ValueChangeMode.ON_CHANGE.- Specified by:
- getValueChangeModein interface- com.vaadin.flow.data.value.HasValueChangeMode
 
- 
setValueChangeModepublic void setValueChangeMode(com.vaadin.flow.data.value.ValueChangeMode valueChangeMode) - Specified by:
- setValueChangeModein interface- com.vaadin.flow.data.value.HasValueChangeMode
 
- 
getI18nGets the internationalization object previously set for this component.Note: updating the object content that is gotten from this method will not update the lang on the component if not set back using setI18n(RichTextEditorI18n)- Returns:
- the i18n object. It will be null, If the i18n properties weren't set.
 
- 
setI18nSets the internationalization properties for this component.- Parameters:
- i18n- the internationalized properties, not- null
 
- 
runBeforeClientResponseprotected void runBeforeClientResponse(com.vaadin.flow.function.SerializableConsumer<com.vaadin.flow.component.UI> command) 
- 
sanitize
 
-