public interface UiWidgetRichTextField extends UiWidgetTextualInputField<String>, AttributeWriteKeyboardFilter, AttributeWriteHeightInRows, UiWidgetNative
input field widget that represents a rich text area
field. Such field is like UiWidgetTextAreaField but allows to enter rich text with markup. It should support
the user with a nice toolbar that allows to apply styles to the selected text (e.g. bold, italic, blockquote, etc.).
It should also support unordered and ordered lists as well as headings (at least four levels). Also insertion of
hyperlinks and images should be possible.| Modifier and Type | Field and Description |
|---|---|
static String |
STYLE_RICH_TEXT_AREA
The
primary style of the internal widget with the rich text area. |
STYLE_FIELD, STYLE_LABEL, STYLE_MANDATORY, STYLE_VIEWSTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAPROPERTY_LABELACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY| Modifier and Type | Method and Description |
|---|---|
void |
setAvailableFeatures(RichTextFeature... features)
This method sets the
RichTextFeature that should be available for the end-user. |
void |
setValue(String value)
This method sets the
value. |
getLabel, getLabelWidget, setLabelgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolegetValuegetValueAndValidate, getValueDirectaddChangeHandler, removeChangeHandlerresetValue, setValue, setValueForUsergetOriginalValue, getValueOrExceptionaddValidatorMandatory, isMandatoryaddValidator, removeValidatorsetValueAsStringgetValueAsStringsetValidationFailuregetValidationFailuresetTrimValueisTrimValuesetAccessKeygetAccessKeyaddFocusHandler, removeFocusHandlerisFocusedsetFocusedsetMaximumTextLengthgetMaximumTextLengthsetKeyboardFiltergetKeyboardFiltersetHeightInRowsgetHeightInRowsstatic final String STYLE_RICH_TEXT_AREA
primary style of the internal widget with the rich text area.void setValue(String value)
value.
It will also set the modified flag to false.
UiWidgetRichTextField (and NOT any other widget) in the same client
instance.setValue in interface AttributeWriteValue<String>setValue in interface AttributeWriteValueAdvanced<String>value - is the new value. May be null unless otherwise stated.void setAvailableFeatures(RichTextFeature... features)
RichTextFeature that should be available for the end-user. By default all
RichTextFeatures are active. This method allows to reduce the offered features to those explicitly
specified to this method. Then only these features are visible in the toolbar of this rich-text field and
accessibly via keyboard shortcuts.features - are the RichTextFeatures that shall be available.Copyright © 2001–2016 mmm-Team. All rights reserved.