Class JmixMarkdownEditor.JmixMarkdownEditorI18n
java.lang.Object
io.jmix.flowui.kit.component.markdowneditor.JmixMarkdownEditor.JmixMarkdownEditorI18n
- All Implemented Interfaces:
Serializable
- Enclosing class:
JmixMarkdownEditor
public static class JmixMarkdownEditor.JmixMarkdownEditorI18n
extends Object
implements Serializable
Internationalization properties for
JmixMarkdownEditor.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classInternationalization properties for the mode tabs.static classInternationalization properties for the formatting toolbar. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the error message displayed when the field is required but empty.getTabs()Gets the i18n properties for the mode tabs.Gets the i18n properties for the toolbar buttons.setRequiredErrorMessage(String requiredErrorMessage) Sets the error message to display when the field is required but empty.Sets the i18n properties for the mode tabs.Sets the i18n properties for the toolbar buttons.
-
Field Details
-
requiredErrorMessage
-
tabs
-
toolbar
-
-
Constructor Details
-
JmixMarkdownEditorI18n
public JmixMarkdownEditorI18n()
-
-
Method Details
-
getRequiredErrorMessage
Gets the error message displayed when the field is required but empty.- Returns:
- the error message, or
nullif not set
-
setRequiredErrorMessage
public JmixMarkdownEditor.JmixMarkdownEditorI18n setRequiredErrorMessage(String requiredErrorMessage) Sets the error message to display when the field is required but empty.Note: error messages set with
HasValidationProperties.setErrorMessage(String)take priority over i18n error messages.- Parameters:
requiredErrorMessage- the error message, ornullto clear it- Returns:
- this instance for method chaining
-
getTabs
Gets the i18n properties for the mode tabs.- Returns:
- the tabs i18n, or
nullif not set
-
setTabs
public JmixMarkdownEditor.JmixMarkdownEditorI18n setTabs(JmixMarkdownEditor.JmixMarkdownEditorI18n.Tabs tabs) Sets the i18n properties for the mode tabs.- Parameters:
tabs- the tabs i18n- Returns:
- this instance for method chaining
-
getToolbar
Gets the i18n properties for the toolbar buttons.- Returns:
- the toolbar i18n, or
nullif not set
-
setToolbar
public JmixMarkdownEditor.JmixMarkdownEditorI18n setToolbar(JmixMarkdownEditor.JmixMarkdownEditorI18n.Toolbar toolbar) Sets the i18n properties for the toolbar buttons.- Parameters:
toolbar- the toolbar i18n- Returns:
- this instance for method chaining
-