public abstract class RichTextEntryBase extends javax.faces.component.UIInput implements IRichTextEntry, IceClientBehaviorHolder
For more information, see the RichTextEntry Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
RichTextEntryBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
RichTextEntryBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getAccesskey()
Return the value of the
accesskey property. |
int |
getAutogrowBufferSpace()
Return the value of the
autogrowBufferSpace property. |
int |
getAutogrowMaxHeight()
Return the value of the
autogrowMaxHeight property. |
int |
getAutogrowMinHeight()
Return the value of the
autogrowMinHeight property. |
java.lang.String |
getCustomConfigPath()
Return the value of the
customConfigPath property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getHeight()
Return the value of the
height property. |
java.lang.String |
getLanguage()
Return the value of the
language property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getSkin()
Return the value of the
skin property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getToolbar()
Return the value of the
toolbar property. |
java.lang.String |
getWidth()
Return the value of the
width property. |
boolean |
isAutogrow()
Return the value of the
autogrow property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isSaveOnSubmit()
Return the value of the
saveOnSubmit property. |
void |
setAccesskey(java.lang.String accesskey)
Set the value of the
accesskey property. |
void |
setAutogrow(boolean autogrow)
Set the value of the
autogrow property. |
void |
setAutogrowBufferSpace(int autogrowBufferSpace)
Set the value of the
autogrowBufferSpace property. |
void |
setAutogrowMaxHeight(int autogrowMaxHeight)
Set the value of the
autogrowMaxHeight property. |
void |
setAutogrowMinHeight(int autogrowMinHeight)
Set the value of the
autogrowMinHeight property. |
void |
setCustomConfigPath(java.lang.String customConfigPath)
Set the value of the
customConfigPath property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setHeight(java.lang.String height)
Set the value of the
height property. |
void |
setLanguage(java.lang.String language)
Set the value of the
language property. |
void |
setSaveOnSubmit(boolean saveOnSubmit)
Set the value of the
saveOnSubmit property. |
void |
setSkin(java.lang.String skin)
Set the value of the
skin property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setToolbar(java.lang.String toolbar)
Set the value of the
toolbar property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setWidth(java.lang.String width)
Set the value of the
width property. |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to the editing area of this component.
setAccesskey in interface IRichTextEntrypublic java.lang.String getAccesskey()
Return the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to the editing area of this component.
getAccesskey in interface IRichTextEntrypublic void setAutogrow(boolean autogrow)
Set the value of the autogrow property.
Contents: Enabling this behaviour will automatically expand and shrink vertically the editor, depending on the amount and size of the content. Customize the maximum and minimum heights, as well as the buffer space, via the attributes 'autogrowMinHeight', 'autogrowMaxHeight', and 'autogrowBufferSpace'.
setAutogrow in interface IRichTextEntrypublic boolean isAutogrow()
Return the value of the autogrow property.
Contents: Enabling this behaviour will automatically expand and shrink vertically the editor, depending on the amount and size of the content. Customize the maximum and minimum heights, as well as the buffer space, via the attributes 'autogrowMinHeight', 'autogrowMaxHeight', and 'autogrowBufferSpace'. Default = 'false'.
isAutogrow in interface IRichTextEntrypublic void setAutogrowBufferSpace(int autogrowBufferSpace)
Set the value of the autogrowBufferSpace property.
Contents: When the autogrow behaviour is enabled, this is the vertical space between the last line of content in the editing area and the editor's footer, in pixels (when the editing area is taller than the minimum height).
setAutogrowBufferSpace in interface IRichTextEntrypublic int getAutogrowBufferSpace()
Return the value of the autogrowBufferSpace property.
Contents: When the autogrow behaviour is enabled, this is the vertical space between the last line of content in the editing area and the editor's footer, in pixels (when the editing area is taller than the minimum height). Default = '50'.
getAutogrowBufferSpace in interface IRichTextEntrypublic void setAutogrowMaxHeight(int autogrowMaxHeight)
Set the value of the autogrowMaxHeight property.
Contents: When the autogrow behaviour is enabled, the editing area will be no taller than the amount specified by this attribute, in pixels. A value of 0 indicates that there is no set limit. This and the 'autogrowMinHeight' attributes override the regular 'height' attribute.
setAutogrowMaxHeight in interface IRichTextEntrypublic int getAutogrowMaxHeight()
Return the value of the autogrowMaxHeight property.
Contents: When the autogrow behaviour is enabled, the editing area will be no taller than the amount specified by this attribute, in pixels. A value of 0 indicates that there is no set limit. This and the 'autogrowMinHeight' attributes override the regular 'height' attribute. Default = '0'.
getAutogrowMaxHeight in interface IRichTextEntrypublic void setAutogrowMinHeight(int autogrowMinHeight)
Set the value of the autogrowMinHeight property.
Contents: When the autogrow behaviour is enabled, the editing area will be no shorter than the amount specified by this attribute, in pixels. This and the 'autogrowMaxHeight' attributes override the regular 'height' attribute.
setAutogrowMinHeight in interface IRichTextEntrypublic int getAutogrowMinHeight()
Return the value of the autogrowMinHeight property.
Contents: When the autogrow behaviour is enabled, the editing area will be no shorter than the amount specified by this attribute, in pixels. This and the 'autogrowMaxHeight' attributes override the regular 'height' attribute. Default = '300'.
getAutogrowMinHeight in interface IRichTextEntrypublic void setCustomConfigPath(java.lang.String customConfigPath)
Set the value of the customConfigPath property.
Contents: This attribute defines the path of the custom config file, the path is relative to the web app.
setCustomConfigPath in interface IRichTextEntrypublic java.lang.String getCustomConfigPath()
Return the value of the customConfigPath property.
Contents: This attribute defines the path of the custom config file, the path is relative to the web app.
getCustomConfigPath in interface IRichTextEntrypublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Boolean value to disable the editor functions.
setDisabled in interface IRichTextEntrypublic boolean isDisabled()
Return the value of the disabled property.
Contents: Boolean value to disable the editor functions. Default = 'false'.
isDisabled in interface IRichTextEntrypublic void setHeight(java.lang.String height)
Set the value of the height property.
Contents: The height of the editable area only. It can be expressed in px and em units (percent units (%) are not supported). If no unit is specified, the value is assumed to be in pixels.
setHeight in interface IRichTextEntrypublic java.lang.String getHeight()
Return the value of the height property.
Contents: The height of the editable area only. It can be expressed in px and em units (percent units (%) are not supported). If no unit is specified, the value is assumed to be in pixels. Default = '200px'.
getHeight in interface IRichTextEntrypublic void setLanguage(java.lang.String language)
Set the value of the language property.
Contents: Specifies the language to be used for the user interface.
setLanguage in interface IRichTextEntrypublic java.lang.String getLanguage()
Return the value of the language property.
Contents: Specifies the language to be used for the user interface. Default = 'en'.
getLanguage in interface IRichTextEntrypublic void setSaveOnSubmit(boolean saveOnSubmit)
Set the value of the saveOnSubmit property.
Contents: By default the data of the editor will only be saved when its 'Save' button is clicked. Any other submit request will not save its data. In order to save its data on any submit request like inputText does, this attribute can be set to true.
setSaveOnSubmit in interface IRichTextEntrypublic boolean isSaveOnSubmit()
Return the value of the saveOnSubmit property.
Contents: By default the data of the editor will only be saved when its 'Save' button is clicked. Any other submit request will not save its data. In order to save its data on any submit request like inputText does, this attribute can be set to true. Default = 'false'.
isSaveOnSubmit in interface IRichTextEntrypublic void setSkin(java.lang.String skin)
Set the value of the skin property.
Contents: Specify the pre-defined skin for the editor. Possible values are 'moono', 'moonocolor', 'moonodark', 'moonoblue', 'moonolisa', 'office2013', 'kama', and 'bootstrap'.
setSkin in interface IRichTextEntrypublic java.lang.String getSkin()
Return the value of the skin property.
Contents: Specify the pre-defined skin for the editor. Possible values are 'moono', 'moonocolor', 'moonodark', 'moonoblue', 'moonolisa', 'office2013', 'kama', and 'bootstrap'. Default = 'moono'.
getSkin in interface IRichTextEntrypublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Inline CSS styling for the editor.
setStyle in interface IRichTextEntrypublic java.lang.String getStyle()
Return the value of the style property.
Contents: Inline CSS styling for the editor.
getStyle in interface IRichTextEntrypublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: The CSS style class of the editor.
setStyleClass in interface IRichTextEntrypublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: The CSS style class of the editor.
getStyleClass in interface IRichTextEntrypublic void setToolbar(java.lang.String toolbar)
Set the value of the toolbar property.
Contents: Specifies the type of toolbar. There are two valid values for this field (case sensitive): 'Default' and 'Basic'.
setToolbar in interface IRichTextEntrypublic java.lang.String getToolbar()
Return the value of the toolbar property.
Contents: Specifies the type of toolbar. There are two valid values for this field (case sensitive): 'Default' and 'Basic'. Default = 'Default'.
getToolbar in interface IRichTextEntrypublic void setWidth(java.lang.String width)
Set the value of the width property.
Contents: The width of the entire editor. It can be expressed in px, em, and % units. If no unit is specified, the value is assumed to be in pixels.
setWidth in interface IRichTextEntrypublic java.lang.String getWidth()
Return the value of the width property.
Contents: The width of the entire editor. It can be expressed in px, em, and % units. If no unit is specified, the value is assumed to be in pixels. Default = '100%'.
getWidth in interface IRichTextEntryprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2025 ICEsoft Technologies Canada Corp., All Rights Reserved.