Package org.exoplatform.webui.form
Class UIFormRichtextInput
- java.lang.Object
-
- org.exoplatform.webui.core.UIComponent
-
- org.exoplatform.webui.core.UIContainer
-
- org.exoplatform.webui.form.UIFormInputBase<String>
-
- org.exoplatform.webui.form.UIFormRichtextInput
-
-
Field Summary
Fields Modifier and Type Field Description static StringBASIC_TOOLBARstatic StringCOMMENT_TOOLBARstatic StringENTER_BRstatic StringENTER_DIVstatic StringENTER_Pstatic StringFAQ_TOOLBARstatic StringFORUM_TOOLBARstatic StringFULL_TOOLBARstatic StringINLINE_TOOLBARstatic StringSUPER_BASIC_TOOLBAR
-
Constructor Summary
Constructors Constructor Description UIFormRichtextInput(String name, String bindingField, String value)UIFormRichtextInput(String name, String bindingField, String value, String enterMode)UIFormRichtextInput(String name, String bindingField, String value, String enterMode, String toolbar)UIFormRichtextInput(String name, String bindingField, String value, String enterMode, String toolbar, String css)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(Object input, org.exoplatform.webui.application.WebuiRequestContext context)StringgetCss()StringgetEnterMode()StringgetHeight()booleangetIsPasteAsPlainText()StringgetShiftEnterMode()StringgetToolbar()StringgetWidth()booleanisIgnoreParserHTML()voidprocessRender(org.exoplatform.webui.application.WebuiRequestContext context)voidsetCss(String css)voidsetEnterMode(String enterMode)voidsetHeight(String height)UIFormRichtextInputsetIgnoreParserHTML(boolean isIgnoreParserHTML)UIFormRichtextInputsetIsPasteAsPlainText(boolean isPasteAsPlainText)voidsetShiftEnterMode(String shiftEnterMode)voidsetToolbar(String toolbar)voidsetWidth(String width)-
Methods inherited from class org.exoplatform.webui.form.UIFormInputBase
addValidator, getBindingField, getDefaultValue, getHTMLAttribute, getLabel, getName, getTypeValue, getValidators, getValue, isDisabled, isEditable, isEnable, isMandatory, isReadOnly, isValid, processDecode, renderHTMLAttributes, reset, setBindingField, setDefaultValue, setDisabled, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly, setValue
-
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
-
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
-
-
-
Field Detail
-
FULL_TOOLBAR
public static final String FULL_TOOLBAR
- See Also:
- Constant Field Values
-
BASIC_TOOLBAR
public static final String BASIC_TOOLBAR
- See Also:
- Constant Field Values
-
SUPER_BASIC_TOOLBAR
public static final String SUPER_BASIC_TOOLBAR
- See Also:
- Constant Field Values
-
INLINE_TOOLBAR
public static final String INLINE_TOOLBAR
- See Also:
- Constant Field Values
-
COMMENT_TOOLBAR
public static final String COMMENT_TOOLBAR
- See Also:
- Constant Field Values
-
FORUM_TOOLBAR
public static final String FORUM_TOOLBAR
- See Also:
- Constant Field Values
-
FAQ_TOOLBAR
public static final String FAQ_TOOLBAR
- See Also:
- Constant Field Values
-
ENTER_P
public static final String ENTER_P
- See Also:
- Constant Field Values
-
ENTER_BR
public static final String ENTER_BR
- See Also:
- Constant Field Values
-
ENTER_DIV
public static final String ENTER_DIV
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWidth
public String getWidth()
-
setWidth
public void setWidth(String width)
-
getHeight
public String getHeight()
-
setHeight
public void setHeight(String height)
-
getToolbar
public String getToolbar()
-
getEnterMode
public String getEnterMode()
-
getShiftEnterMode
public String getShiftEnterMode()
-
setToolbar
public void setToolbar(String toolbar)
-
setEnterMode
public void setEnterMode(String enterMode)
-
setShiftEnterMode
public void setShiftEnterMode(String shiftEnterMode)
-
setIsPasteAsPlainText
public UIFormRichtextInput setIsPasteAsPlainText(boolean isPasteAsPlainText)
-
getIsPasteAsPlainText
public boolean getIsPasteAsPlainText()
-
isIgnoreParserHTML
public boolean isIgnoreParserHTML()
-
setIgnoreParserHTML
public UIFormRichtextInput setIgnoreParserHTML(boolean isIgnoreParserHTML)
-
setCss
public void setCss(String css)
-
getCss
public String getCss()
-
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context) throws Exception- Overrides:
processRenderin classorg.exoplatform.webui.core.UIComponent- Throws:
Exception
-
-