public class RichTextArea extends TextArea
TextArea,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected String |
theme
The textarea YUI editor theme [yui-skin-sam].
|
cols, maxLength, minLength, rows, VALIDATE_TEXTAREA_FUNCTIONdisabled, error, focus, form, help, label, labelStyle, labelStyleClass, parentStyleClassHint, parentStyleHint, readonly, required, tabindex, title, trim, validate, valueactionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, stylesCONTROL_MESSAGES| Constructor and Description |
|---|
RichTextArea()
Default no-args constructor used to deploy control resources.
|
RichTextArea(String name)
Create a rich TextArea control with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getConfig()
Return the textarea YUI editor configuration.
|
List<Element> |
getHeadElements()
Return the Control HEAD elements for YUI libraries and YUI
editor JavaScript initialization code.
|
String |
getTheme()
Return the textarea YUI editor theme.
|
void |
render(HtmlStringBuffer buffer)
Render the HTML representation of the RichTextArea.
|
void |
setConfig(String config)
Set the textarea YUI editor configuration.
|
getCols, getControlSizeEst, getMaxLength, getMinLength, getRows, getTag, getValidationJavaScript, setCols, setMaxLength, setMinLength, setRows, validatebindRequestValue, getError, getErrorLabel, getFocus, getFocusJavaScript, getForm, getHelp, getId, getLabel, getLabelStyle, getLabelStyleClass, getParentStyleClassHint, getParentStyleHint, getRequestValue, getState, getTabIndex, getTextAlign, getTitle, getValidate, getValue, getValueObject, getWidth, isDisabled, isHidden, isReadonly, isRequired, isTrim, isValid, onProcess, removeState, renderTagBegin, restoreState, saveState, setDisabled, setError, setErrorMessage, setErrorMessage, setFocus, setForm, setHelp, setLabel, setLabelStyle, setLabelStyleClass, setListener, setParent, setParentStyleClassHint, setParentStyleHint, setReadonly, setRequired, setState, setTabIndex, setTextAlign, setTitle, setTrim, setValidate, setValue, setValueObject, setWidthaddBehavior, addStyleClass, appendAttributes, dispatchActionEvent, getActionListener, getAttribute, getAttributes, getBehaviors, getContext, getHtmlImports, getMessage, getMessage, getMessages, getName, getPage, getParent, getStyle, getStyles, hasAttribute, hasAttributes, hasBehaviors, hasStyles, isAjaxTarget, onDeploy, onDestroy, onInit, onRender, removeBehavior, removeStyleClass, renderTagEnd, setActionListener, setAttribute, setId, setName, setStyle, toStringprotected String theme
public RichTextArea(String name)
name - the name of the controlpublic RichTextArea()
public String getConfig()
public void setConfig(String config)
config - the textarea YUI editor configurationpublic String getTheme()
public List<Element> getHeadElements()
getHeadElements in interface ControlgetHeadElements in class AbstractControlAbstractControl.getHeadElements()public void render(HtmlStringBuffer buffer)
getTheme() of the textarea.render in interface Controlrender in class TextAreabuffer - the specified buffer to render the control's output toAbstractControl.toString()