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, INPUTMODE, labelOverride, ONDATACAHNGE, 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, RERENDER_PROPERTY
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
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, copy, createRenderId, 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, hasVisibleChildren, instantiatedatasrc, isDesignerEditedProperty, isDisabled, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, moveChild, needsRender, parseParamvalues, preRender, preRenderChecks, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, 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, stopRender, walkForId, walkForId
addChild, addChild, addRefreshListener, clearChildren, clearProperties, clone, clone, getBoolean, 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, toString
public 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 ControlInstance
public int spellcheck() throws MXException
MXException
public java.lang.String getCurrentValue()
public int spellcheckreturn() throws MXException
MXException
public 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 ControlInstance
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.NoSuchMethodException
public void dataChangedEvent(DataBean speaker)
dataChangedEvent
in interface DataBeanListener
public void structureChangedEvent(DataBean speaker)
structureChangedEvent
in interface DataBeanListener
public 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.