public class CKEditor extends TextArea
| Constructor and Description |
|---|
CKEditor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptRequestParameter(String[] values) |
void |
appendfixSizeJS()
Needed in cases when page layout is changed without resizing browser window.
|
void |
componentHandleWebAction(RequestContextImpl ctx,
String action)
Handle
WEBUI_CK_DOMUIIMAGE_ACTION activity on CKEditor customized commands that interacts with domui. |
void |
createContent()
To create the editor we need to replace the core code.
|
IEditorFileSystem |
getFileSystem() |
IClicked<NodeBase> |
getOnDomuiImageClicked() |
IClicked<NodeBase> |
getOnDomuiOddCharsClicked() |
CKToolbarSet |
getToolbarSet() |
boolean |
isToolbarStartExpanded() |
void |
onRemoveFromPage(Page p) |
void |
renderCancelImage() |
void |
renderCloseOddCharacters() |
void |
renderImageSelected(String url) |
void |
renderOddCharacters(String input) |
void |
setCssClass(String cssClass)
Set the value for the "class" (css class) attribute.
|
void |
setFileSystem(IEditorFileSystem fileSystem) |
void |
setHeight(String height) |
void |
setOnDomuiImageClicked(IClicked<NodeBase> onDomuiImageClicked) |
void |
setOnDomuiOddCharsClicked(IClicked<NodeBase> onDomuiOddCharsClicked) |
void |
setToolbarSet(CKToolbarSet toolbarSet) |
void |
setToolbarStartExpanded(boolean toolbarStartExpanded) |
void |
setWidth(String width) |
create, getBindValue, getCols, getDisabledBecause, getMaxByteLength, getMaxLength, getRawValue, getRows, getValue, getValueSafe, hasError, isDisabled, isModified, setBindValue, setCols, setDisabled, setDisabledBecause, setMaxByteLength, setMaxLength, setModified, setReadOnly, setRows, setValue, visitcallOnValueChanged, getOnValueChanged, immediate, immediate, isImmediate, isMandatory, isReadOnly, setMandatory, setOnValueChangedadd, add, add, addTable, addTableForLayout, addTableForLayout, appendTreeErrors, canContain, createFrame, delegateTo, disableAllChildControlsDeep, findChildIndex, forceRebuild, getChild, getChildCount, getChildren, getDeepChildren, getDelegate, getErrorFence, getTextContents, internalAdd, internalCheckNotDirty, internalClearDelta, internalClearDeltaFully, internalCreateFrame, internalGetNodeCount, internalGetOldChildren, internalOnBeforeRender, internalShelve, internalUnshelve, iterator, onRefresh, removeAllChildren, removeChild, removeChild, replaceChild, setErrorFence, setErrorFence, setText, setValue, undelegatedAdd, undelegatedGetChild$, addBinding, addCssClass, addGlobalMessage, addNotificationListener, afterCreateContent, alignToLeft, alignToLeft, alignToMiddle, alignToMiddle, alignTopToBottom, alignTopToBottom, alignToRight, alignToRight, alignToTop, alignToTop, appendAfterMe, appendBeforeMe, appendCreateJS, appendJavascript, appendJQuerySelector, appendJsCustomUpdatesContributor, appendShowOverflowTextAsTitleJs, appendStatement, beforeCreateContent, bind, bind, bindErrors, build, calcTestID, changed, changedJavascriptState, clearFocusRequested, clearGlobalMessage, clearGlobalMessage, clearGlobalMessage, clearMessage, clearValidationFailure, componentHandleWebDataRequest, createStatement, findComponentBundle, findParent, getActualID, getAllocationTracepoint, getBindingErrors, getBindingList, getBrowserWindowSize, getCalculatedTestID, getClicked, getClientBounds, getComponentBundle, getComponentDataURL, getComponentDataURL, getComponentInfo, getComponentJSONURL, getCreateJS, getCssClass, getErrorList, getErrorLocation, getFocusID, getMessage, getOnClickJS, getOnMouseDownJS, getOnSizeAndPositionChange, getPage, getParent, getParent, getParent, getParentOfTypes, getSharedContext, getSharedContextFactory, getSpecialAttribute, getSpecialAttributeList, getTag, getTestID, getTestRepeatId, getThemedResourceRURL, getTitle, getUserObject, handleDrop, hasCssClass, hasParent, internalGetOldParent, internalGetParent, internalHasChangedAttributes, internalNeedClickHandler, internalOnClicked, internalOnValueChanged, internalRenderJavascriptDelta, internalRenderJavascriptState, internalSetHasChangedAttributes, internalSetHasChangedAttributes, internalSetLogAllocations, internalSetTag, isAttached, isBuilt, isFocusable, isFocusRequested, isRendersOwnClose, isStretchHeight, lc, notify, notifyParentOrOpenerPage, onAddedToPage, onBeforeFullRender, onBeforeRender, onForceRebuild, onHeaderContributors, onShelve, onUnshelve, refresh, remove, removeBinding, removeCssClass, renderJavascriptDelta, renderJavascriptState, renderJavascriptState, replaceWith, setBrowserWindowSize, setCalculcatedId, setCalculcatedId, setClicked, setClientBounds, setComponentBundle, setErrorLocation, setFocus, setMessage, setOnClickJS, setOnMouseDownJS, setOnSizeAndPositionChange, setOverrideTitle, setSpecialAttribute, setStretchHeight, setTestID, setTestRepeatID, setTitle, setUserObject, toStringgetBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBottom, getCachedStyle, getClear, getColor, getDisplay, getFloat, getFontFamily, getFontSize, getFontSizeAdjust, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLineHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOverflow, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getRight, getTextAlign, getTop, getTransform, getVerticalAlign, getVisibility, getWidth, getZIndex, internalSetDisplay, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorder, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderColor, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderStyle, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setBottom, setCachedStyle, setClear, setColor, setDisplay, setFloat, setFontFamily, setFontSize, setFontSizeAdjust, setFontStyle, setFontVariant, setFontWeight, setLeft, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setRight, setRight, setTextAlign, setTop, setTop, setTransform, setVerticalAlign, setVisibility, setZIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOnValueChangedgetErrorLocation, isMandatory, isReadOnly, setErrorLocation, setMandatorysetTestIDgetOnValueChanged, setOnValueChangedclearMessage, getMessage, setMessageforEach, spliteratorpublic final void setCssClass(@Nullable String cssClass)
NodeBasesetCssClass in class NodeBasepublic void createContent()
throws Exception
To create the editor we need to replace the core code. We add a textarea having the ID and a special class (ui-ckeditor). This special class is an indicator to the submit logic that the textarea is a CKEditor instance. This causes it to use special logic to retrieve a value.
createContent in class NodeBaseExceptionNodeBase.createContent()@Nonnull public CKToolbarSet getToolbarSet()
public void setToolbarSet(@Nonnull CKToolbarSet toolbarSet)
@Nullable public IEditorFileSystem getFileSystem()
public void setFileSystem(@Nullable IEditorFileSystem fileSystem)
public void componentHandleWebAction(@Nonnull RequestContextImpl ctx, @Nonnull String action) throws Exception
WEBUI_CK_DOMUIIMAGE_ACTION activity on CKEditor customized commands that interacts with domui.
Handle WEBUI_CK_DOMUIODDCHAR_ACTION activity on CKEditor customized commands that interacts with domui.componentHandleWebAction in class NodeBaseExceptionDiv.componentHandleWebAction(to.etc.domui.server.RequestContextImpl, java.lang.String)public void renderCancelImage()
public void renderCloseOddCharacters()
public void setOnDomuiImageClicked(@Nonnull IClicked<NodeBase> onDomuiImageClicked)
public void setOnDomuiOddCharsClicked(@Nonnull IClicked<NodeBase> onDomuiOddCharsClicked)
public boolean isToolbarStartExpanded()
public void setToolbarStartExpanded(boolean toolbarStartExpanded)
public boolean acceptRequestParameter(@Nonnull String[] values) throws Exception
acceptRequestParameter in class TextAreaException@OverridingMethodsMustInvokeSuper public void onRemoveFromPage(Page p)
onRemoveFromPage in class NodeBasepublic void appendfixSizeJS()
Copyright © 2017 etc.to. All rights reserved.