public class RichTextControl extends ControlInstance implements DataBeanListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HOLDER_ID_SUFFIX |
static java.lang.String |
PROP_HOLDER_ID |
static java.lang.String |
PROP_RENDER_TEXT_AREA
A property used when rendering in a mobile application that indicates that a text area should be shown instead of
the rich text viewer which is shown if the value for this control contains html.
|
static java.lang.String |
PROP_REPLACEMENT_METHOD |
amIinitialize, DATASOURCE, errorChanged, errorLevel, errorsValidated, generatedControl, INPUTMODE, labelOverride, labelParams, LOG_CATEGORY, ONDATACAHNGE, originalControl, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_LIGHTNING, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, propertyOriginator, RERENDER_PROPERTYchangedProperties, EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST, properties, type| Constructor and Description |
|---|
RichTextControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
dataChangedEvent(DataBean speaker) |
BaseInstance |
getChildComponent(BaseInstance component,
java.lang.String componentType)
Gets the child component of the specified type from the base component.
|
DataBean |
getControlBean() |
java.lang.String |
getCurrentValue() |
java.lang.String |
getDataAttribute() |
void |
initialize()
Initializes this control.
|
boolean |
isRichTextSupported()
Determines if the rich text editing is supported on this device.
|
int |
render()
Renders the RichTextControl.
|
int |
spellcheck()
Forwards request to spellcheck_dialog
|
int |
spellcheckreturn()
Registered call-back method for spell check dialog
|
void |
structureChangedEvent(DataBean speaker) |
addChild, addComponent, broadcastEvent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, cleanup, clearComponent, clearErrors, clearFlags, copy, createRenderId, determineErrorLevel, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getConditonallyChanged, getDataBean, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasSigOptionAccess, hasVisibleChildren, instantiatedatasrc, isDesignerEditedProperty, isDisabled, isFirstChildVisible, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, licenseCheck, moveChild, needsRender, parentPropertyChanged, parseParamvalues, preRender, preRenderChecks, propertyChanged, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setConditionalProperties, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, sigOptionCheck, sigOptionCheckForLookups, stopRender, walkForId, walkForIdaddChild, addChild, addRefreshListener, canSetProperty, clearChildren, clearPropChangeList, clearProperties, clone, clone, getBoolean, getChangedProperties, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toStringpublic static final java.lang.String PROP_RENDER_TEXT_AREA
public static final java.lang.String PROP_HOLDER_ID
public static final java.lang.String PROP_REPLACEMENT_METHOD
public static final java.lang.String HOLDER_ID_SUFFIX
public void initialize()
initialize in class ControlInstancepublic int spellcheck()
throws MXException
MXExceptionpublic java.lang.String getCurrentValue()
public int spellcheckreturn()
throws MXException
MXExceptionpublic java.lang.String getDataAttribute()
public DataBean getControlBean()
public boolean isRichTextSupported()
public int render()
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException,
java.lang.NoSuchMethodException
render in class ControlInstancejava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.NoSuchMethodExceptionpublic void dataChangedEvent(DataBean speaker)
dataChangedEvent in interface DataBeanListenerpublic void structureChangedEvent(DataBean speaker)
structureChangedEvent in interface DataBeanListenerpublic BaseInstance getChildComponent(BaseInstance component, java.lang.String componentType)
component - The component instance. If it is of the specified type, it is returned.componentType - The component type to search for.