public class WysiwygUIEditor extends AbstractUIEditor
| Modifier and Type | Class and Description |
|---|---|
protected class |
WysiwygUIEditor.WysiwygButtonContainer |
AbstractUIEditor.CancelButtonContainer, AbstractUIEditor.CancelListener, AbstractUIEditor.ErrorDiv| Modifier and Type | Field and Description |
|---|---|
protected boolean |
inline |
protected static java.lang.String |
QUESTION_MARK |
ATTRIBUTE_QUALIFIER_PARAM, CANCEL_BTN, EVENT_SOURCE, inEditMode, initialEditValue, initialInputString, PROPERTY_DESCRIPTOR_PARAM, SEARCH_MODE_PARAMINITIAL_EDIT_STRING| Constructor and Description |
|---|
WysiwygUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected CockpitFCKEditor |
createCockpitFCKEditor(java.util.Map<java.lang.String,? extends java.lang.Object> editorParameters) |
protected Window |
createPopupWysiwyg(Textbox textbox,
EditorListener listener)
Deprecated.
since 6.3
|
protected Window |
createPopupWysiwyg(Textbox textbox,
EditorListener listener,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters) |
protected Div |
createReadonlyRepresentation(java.lang.String html,
java.lang.String width,
java.lang.String height) |
HtmlBasedComponent |
createViewComponent(java.lang.Object initialValue,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
protected HtmlBasedComponent |
createWysiwygInline(java.lang.String html,
EditorListener listener,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters) |
java.lang.String |
getDefaultToolbarConfig() |
java.lang.String |
getEditorType() |
protected java.lang.String |
getSpellcheckerPath()
Deprecated.
since 6.7 Spellchecker was removed from WysiwygUIEditor due to security issues
|
boolean |
isInline()
Returns whether this editor is an inline editor or not.
|
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
applyReferenceRelatedAttributes, createEditor, createEditor, createEditor, createEditor, filterValues, fireValueChanged, getRootSearchType, getUIEditor, getValue, isEditable, isEditable, isOptional, isSearchMode, parseInitialInputString, parseTemplateCodes, persistValues, persistValues, setEditable, setOptional, setValueprotected static final java.lang.String QUESTION_MARK
protected boolean inline
@Deprecated protected java.lang.String getSpellcheckerPath()
protected CockpitFCKEditor createCockpitFCKEditor(java.util.Map<java.lang.String,? extends java.lang.Object> editorParameters)
protected HtmlBasedComponent createWysiwygInline(java.lang.String html,
EditorListener listener,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
protected Div createReadonlyRepresentation(java.lang.String html,
java.lang.String width,
java.lang.String height)
@Deprecated
protected Window createPopupWysiwyg(Textbox textbox,
EditorListener listener)
protected Window createPopupWysiwyg(Textbox textbox,
EditorListener listener,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters)
public HtmlBasedComponent createViewComponent(java.lang.Object initialValue,
java.util.Map<java.lang.String,? extends java.lang.Object> parameters,
EditorListener listener)
UIEditorPage page.initialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedpublic java.lang.String getEditorType()
public boolean isInline()
UIEditorpublic void setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
UIEditorsetFocus in interface UIEditorsetFocus in class AbstractUIEditorrootEditorComponent - the rootEditorComponent which is returned on method createViewComponentselectAll - if true, select the whole input field after focus. It is not guaranteed that the editor supports selection.public java.lang.String getDefaultToolbarConfig()
Copyright © 2018 SAP SE. All Rights Reserved.