public class RichTextArea extends TextArea
TextArea
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
theme
The textarea YUI editor theme [yui-skin-sam].
|
cols, maxLength, minLength, rows, VALIDATE_TEXTAREA_FUNCTION
disabled, error, focus, form, help, label, labelStyle, labelStyleClass, parentStyleClassHint, parentStyleHint, readonly, required, tabindex, title, trim, validate, value
actionListener, attributes, behaviors, headElements, listener, listenerMethod, messages, name, parent, styles
CONTROL_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, validate
bindRequestValue, 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, setWidth
addBehavior, 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, toString
protected 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 Control
getHeadElements
in class AbstractControl
AbstractControl.getHeadElements()
public void render(HtmlStringBuffer buffer)
getTheme()
of the textarea.render
in interface Control
render
in class TextArea
buffer
- the specified buffer to render the control's output toAbstractControl.toString()