# JavaScript API Reference for Oracle ADF Faces

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

SUMMARY: FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

# oracle.adfinternal.view.js.laf.dhtml.rich
Class AdfDhtmlRichTextEditorPeer

## Warning:

- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.

    org.ecmascript.object.Object
       |
       +--oracle.adf.view.js.base.AdfObject
             |
             +--oracle.adf.view.js.base.AdfUIPeer
                   |
                   +--oracle.adf.view.js.laf.rich.AdfRichUIPeer
                         |
                         +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer
                               |
                               +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
                                     |
                                     +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlRichTextEditorBasePeer
                                           |
                                           +--oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlRichTextEditorPeer

    public class AdfDhtmlRichTextEditorPeer
    extends AdfDhtmlRichTextEditorBasePeer

Peer for the richTextEditor component.

## Field Summary
`protected static Object` | `InitConstants`
`private Object` | `_isTouch`

### Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
`ComponentLabelChanged, ComponentShowRequiredChanged`

### Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, CreateSubId, DISABLED_STYLECLASS, DRAG_READY_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS, SELECTED_STYLECLASS`

### Fields inherited from oracle.adf.view.js.base.AdfObject
`constructor, superclass`

### Fields inherited from org.ecmascript.object.Object
`prototype`

## Constructor Summary
`public` | `AdfDhtmlRichTextEditorPeer()` Peer for the richTextEditor component.

## Method Summary
`private Object` | `_addContextChangeListeners(HTMLDocument field)` Adds the listeners for context changes.
`protected Object` | `AddStyleBinding(String componentId, String propertyName, String styleKey, String eventType)` Binds the value of the style to the property of the component.
`private Object` | `_cmdCreateLink()` Wrapper for the "createlink" command, useful for creating callbacks.
`private Object` | `_createIframe(Object component)` Creates an IFRAME by replacing a placeholder DIV with an IFRAME
`private Object` | `_emptySelection(Object selRange)`
`private Object` | `_execCommand(String key, Object value)` Executes a command on the document, selection, or the given range.
`protected Object` | `Focus()` Programmatically focuses the document.
`private static Object` | `_getDummyInputField(Object editingAgent, Object inlineFrame)`
`private Boolean` | `_getIndeterminateStyling(String styleKey)` Queries whether the value for `styleKey` is currently indeterminate.
`private Object` | `_getOneThroughSevenFontSize(Object value)`
`protected Object` | `GetReadyState()` Returns whether the content of the peer is available Possible return values are:
`public Object` | `getSelectionRange(Object component)`
`private Object` | `_getSelectionStyling(String styleKey)` Gets the value of the styleKey for the current context.
`protected Object` | `GetSubmittedValue(AdfUIComponent component, HTMLElement domElement)` Returns the submittedValue by getting the value of the input dom node.
`private Object` | `_getToolbarPopupDisplayedTextComp(Object component)`
`private Object` | `_getToolbarPopupInputContainer(Object component)`
`private Object` | `_getToolbarPopupNode(Object component)`
`private Object` | `_getToolbarPopupURLComp(Object component)`
`private Object` | `_getToolboxComponent(Object component)`
`private Object` | `_handleBlur(Object evt)`
`private Object` | `_handleClick(Object evt)`
`private Object` | `_handleClonedEvent(Object componentEvent)`
`protected Object` | `HandleCodeEditingModeChange(Object component)` Subclasses should override this method to handle UI changes w.r.t.
`protected Object` | `HandleComponentAction(Object componentEvent)` Handles ActionEvents by children of this component.
`protected Object` | `HandleComponentClick(Object componentEvent)` Handles a click on the component.
`protected Object` | `HandleComponentKeyDown(Object componentEvent)`
`protected Object` | `HandleComponentKeyUp(Object componentEvent)`
`protected Object` | `HandleComponentMouseDown(Object componentEvent)`
`protected Object` | `HandleComponentMouseUp(Object componentEvent)`
`protected Object` | `HandleContextChanged()` Handles the changing of context.
`private Object` | `_handleContextChangedForCommands()`
`private Object` | `_handleContextChangedForStyles()`
`private Object` | `_handleCopy(Object event)`
`private Object` | `_handleDragEnd(Object evt)`
`private Object` | `_handleFocus(Object evt)` This handles the first time we focused the component.
`private Object` | `_handleKeyDown(Object evt)`
`private Object` | `_handleLoad(Object nativeEvent)` Called when the IFRAME has finished loading.
`private Object` | `_handleMouseDown(Object evt)`
`private Object` | `_handleMouseUp(Object event)`
`private Object` | `_handlePaste(Object event)`
`protected static Object` | `HandleTimerUpdate(Object clientId)` Method use for handling the timer.
`private Object` | `_ignoreNextEvent(String styleKey)` Ignores the next event for the `styleKey`.
`protected Object` | `Init(Object component)` Initializes the instance.
`protected static Object` | `InitConstants()`
`protected Object` | `InitDomElement(AdfUIComponent component, HTMLElement domElement)` Initialize the associated domElement when the peer is created.
`protected static Object` | `InitSubclass()`
`private Object` | `_invokeAdditionalCommands(AdfRichTextEditor component, Object element, String command, Object value)` Re-executes the previously selected commands by user when the selection is empty.
`private Object` | `_isComponentHavingFocus()`
`public Object` | `isEmpty(Object value)` Check whether the input text is empty Return whether the input text is empty so the client side can do the validation for required field.
`private Boolean` | `_isIgnoreNextEvent(String styleKey)` Checks if we need to ignore the next event.
`private Object` | `_keyboardClose()`
`private Object` | `_makeEditable(AdfUIComponent component)` Makes a component editable, i.e.
`protected Object` | `PopupClosed(Object component, Object contentDom, Object popupId)` Hook for notifying a peer that a popup of its was just closed.
`private Object` | `_processToolbarPopupAddLinkCmd(Object currentLinkURL)`
`private Object` | `_queryCommandValue(Object key)`
`private Object` | `_redistributeEventsToNewTarget(Object evt)`
`protected Object` | `RemoveContextChangeListeners(AdfUIComponent component)` Removes the listeners for context changes.
`private Object` | `_removeSelection()` Removes the saved selection.
`protected Object` | `RemoveStyleBindings(AdfUIComponent component)` Removes all the bindings of components to a style-command.
`protected Object` | `ResizeNotify(Object oldWidth, Object oldHeight, Object newWidth, Object newHeight)` Called to notify the peer of resize activity.
`private Object` | `_restoreSelection()` Restores the previous selection, if necessary.
`private Object` | `_saveSelection()` Saves of the current selection, if necessary.
`private Object` | `_setInlineFrameContent(HTMLElement inlineFrame, String content)` Sets `content` as the content of the inline frame.
`private Object` | `_setInlineFrameStyle(Object inlineFrameDocument)`
`private Object` | `_showToolbarPopup(Object nativeEvent)`
`protected Object` | `StopDialogsFromBeingInactivatedDueToIframes()` Since the richTextEditor uses an iframe, it is possible that dialogs containing this component will become inactivated when focus is moved into the iframe.
`private Object` | `_styleBindingActionListener(AdfActionEvent event)` Handles the events fired by the components that are bound to this component.
`private Boolean` | `_toggleSelectionStyling(String styleKey)` Toggles the styling with `styleKey` on the current selection.
`private Object` | `_toolbarPopupDisplayedTextBlur(Object componentEvent)`
`private Object` | `_toolbarPopupURLBlur(Object componentEvent)`
`private static Number` | `_toolboxVisitChildrenCallback(AdfUIComponent component)` Callback for the visitor of children components of the toolbox when switching editing modes.
`private Object` | `_updateInlineFrameStyle(Object inlineFrameBodyInlineStyle)` Updates the _inlineFrameBodyInlineStyle
`private Object` | `_updateToolbarPopupURLVal()`
`protected Object` | `UpdateValue()` Updates the value of the component in the hidden form element.

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlRichTextEditorBasePeer
`addBinding, ComponentRemoved, DestroyEditor, executeCommand, GetComponentLabel, getCurrentContent, GetInlineEditor, HandleComponentFocus, isCodeEditingMode, needsResizeNotify, ScrollIntoView, setCodeEditingMode, SetContentFieldValue, SetDisplayValue, ShowFormatHint`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer
`autoSubmit, BindToComponent, ComponentChanged, __componentLabelChanged, ComponentSubmittedValueChanged, disableBrowserAutoComplete, GetComponentSubmittedValue, GetComponentValue, getContentNode, GetContentNode, GetContentNodeId, getContentNodeText, GetDisplayValue, GetLabelElement, GetLabelText, getLastSubmittedValue, getMarkDirtyFlag, GetNoteWindowAlignmentHint, GetNoteWindowAlignmentNode, GetValidatorHints, HideNoteWindow, IsInitialized, IsNoteWindowVisible, __isSpuriousDirtyValue, LazyInitialize, MessageNotify, MessageShow, NeedsSpuriousDirtyValueTracking, __resetSpuriousDirtyValue, __restoreDirtyDisplayValue, setLastSubmittedValue, setMarkDirtyFlag, ShouldShowHint, ShowNoteWindow, ShowNoteWindowMouseOver, StashOldValue, StopArrowKeyBubbling, Validate, ValidateAndStashNewValue, ValidateIfStashedOldValue, VetoShowNoteWindow, WasSubmitted`

### Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer
`ComponentValueChanged, GetBestMatchSubId, getConvertedObject, getConvertedValue, getFormatHint, GetFormattedDisplayValue, GetNullDefault, GetSubIdDomElement, setDisplayValue`

### Methods inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer
`addComponentEventHandlers, addComponentPropertyChanges, addComponentPropertyGetters, addDomEventHandlers, addEventHandlerToDomInstance, addSuppressedPPRAttributes, applyDragReadyState, ApplyDragReadyState, applyDragSourceState, ApplyDragSourceState, bind, cancelAllPopups, cancelPopup, ChildVisibilityChanged, clearDragReadyState, ClearDragReadyState, clearDragSourceState, ClearDragSourceState, ComponentInlineStyleChanged, ComponentPropertyChanged, componentRemoved, ComponentStyleClassChanged, ComponentVisibleChanged, ConvertClientIdToLocator, convertLocatorToClientId, createComponentEvent, CreateComponentEvent, CreateDraggableNode, createInnerPeerClassWithSubId, createPeerClass, createSubId, DefaultInitClass, descendantMessageChanged, DescendantMessageChanged, DispatchComponentEvent, DispatchUncanceledComponentEvent, domReplaceNotify, DomReplaceNotify, focus, getAbsoluteId, getAbsoluteLocator, getAccessibleName, GetAccessibleName, getAllPopups, getComponent, GetComponent, GetComponentId, getComponentParent, getComponentProperty, GetComponentVisible, getDescendantComponents, getDomContentElement, getDomContentElementForComponent, GetDomContentElementForNode, getDomDocument, getDomElement, getDomElementForComponent, getDomNode, GetDomNodeForCommentComponent, getDomNodeForComponent, getDomRootNodes, GetDomRootNodes, getDragOverFeedback, GetDragOverFeedback, getDragTransferable, GetDragTransferable, GetElementToReplaceWithSVG, getFallbackDomElement, GetFallbackDomElement, getFirstAncestorComponent, getInlineEditor, getInlineStyleProperty, getLocatorByDomElement, getPagePosition, getPopupWindow, getReadyState, GetRichResourceURL, getSubIdDomElement, hideAllPopups, hidePopup, InitClass, initialize, isAbsoluteLocatorCacheable, isActive, isBusy, isComponentContainedByElement, isInActiveHeirarchy, isInlineSVGIcon, isPopupVisible, messageNotify, messageShow, needsChildVisibilityChanges, needsFocusTargetStyleClass, processPushData, ProcessPushData, registerADSAccessibility, RegisterADSAccessibility, registerKeyStroke, replaceDomElement, ReplaceDomElement, resizeNotify, scrollIntoView, setBusy, SetBusy, setInlineStyleProperty, showContextMenu, showPopup, simulateMouse, SimulateMouseOnDescendant, TruncateClientId, TruncateClientIdOnceImpl, UnbindFromComponent, unregisterKeyStroke, UpdateMessageType, visitChildren`

### Methods inherited from oracle.adf.view.js.base.AdfUIPeer
`getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible`

### Methods inherited from oracle.adf.view.js.base.AdfObject
`adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString`

## Field Detail

### InitConstants

`protected static Object InitConstants`

### _isTouch

`private Object _isTouch`

## Constructor Detail

### AdfDhtmlRichTextEditorPeer

`public AdfDhtmlRichTextEditorPeer()`
  Peer for the richTextEditor component.

## Method Detail

### _addContextChangeListeners

`private Object _addContextChangeListeners(HTMLDocument field)`
  Adds the listeners for context changes.
  Parameters:

    `field` | - | The document

  Return:
    `Object`

### AddStyleBinding

`protected Object AddStyleBinding(String componentId,
String propertyName,
String styleKey,
String eventType)`
  Binds the value of the style to the property of the component. If the property specified by `styleKey` gets updated, the component-property will change too. This also adds a clientListener to the component that applies the command to the current selection.
  Parameters:

    `componentId` | - | The id of the component
    `propertyName` | - | The name of the property to bind to.
    `styleKey` | - | The styleKey to bind to.
    `eventType` | - | The type of the event that we listen to. Default value = AdfActionEvent.ACTION_EVENT_TYPE

  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.AddStyleBinding(Object, Object, Object, Object)`

### _cmdCreateLink

`private Object _cmdCreateLink()`
  Wrapper for the "createlink" command, useful for creating callbacks.
  Return:
    `Object`

### _createIframe

`private Object _createIframe(Object component)`
  Creates an IFRAME by replacing a placeholder DIV with an IFRAME
  Parameters:

    `component` |  |

  Return:
    `Object`

### _emptySelection

`private Object _emptySelection(Object selRange)`
  Parameters:

    `selRange` |  |

  Return:
    `Object`

### _execCommand

`private Object _execCommand(String key,
Object value)`
  Executes a command on the document, selection, or the given range.
  Parameters:

    `key` | - | The command to execute
    `value` | - | The value of the command

  Return:
    `Object`

### Focus

`protected Object Focus()`
  Programmatically focuses the document. This will only work if the component had a focus before.
  Return:
    `Object`
  Overrides:
    `AdfUIPeer.focus(Object)`

### _getDummyInputField

`private static Object _getDummyInputField(Object editingAgent,
Object inlineFrame)`
  Parameters:

    `editingAgent` |  |
    `inlineFrame` |  |

  Return:
    `Object`

### _getIndeterminateStyling

`private Boolean _getIndeterminateStyling(String styleKey)`
  Queries whether the value for `styleKey` is currently indeterminate.
  Parameters:

    `styleKey` | - | The styleKey to use, e.g. `AdfDhtmlRichTextEditorPeer.STYLE_BOLD`.

  Return:
    `Boolean` - null `true` if the command is indeterminate.

### _getOneThroughSevenFontSize

`private Object _getOneThroughSevenFontSize(Object value)`
  Parameters:

    `value` |  |

  Return:
    `Object`

### GetReadyState

`protected Object GetReadyState()`
  Returns whether the content of the peer is available Possible return values are:
  - `AdfUIComponent.STATE_LOADING` The UIComponent is still loading state or content
  - `AdfUIComponent.STATE_COMPLETE` The UIComponent is fully loaded
  Return:
    `Object`
  Overrides:
    `AdfUIPeer.getReadyState(Object)`

### getSelectionRange

`public Object getSelectionRange(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _getSelectionStyling

`private Object _getSelectionStyling(String styleKey)`
  Gets the value of the styleKey for the current context.
  Parameters:

    `styleKey` | - | The styleKey to use, e.g. `AdfDhtmlRichTextEditorPeer.STYLE_BOLD`.

  Return:
    `Object` - The value of the selection for this `styleKey`.

### GetSubmittedValue

`protected Object GetSubmittedValue(AdfUIComponent component,
HTMLElement domElement)`
  Returns the submittedValue by getting the value of the input dom node.
  Parameters:

    `component` | - | Component that this peer will be associated with
    `domElement` | - | Root DOM element of this peer

  Return:
    `Object` - submittedValue
  Overrides:
    `AdfDhtmlEditableValuePeer.GetSubmittedValue(Object, Object)`

### _getToolbarPopupDisplayedTextComp

`private Object _getToolbarPopupDisplayedTextComp(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _getToolbarPopupInputContainer

`private Object _getToolbarPopupInputContainer(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _getToolbarPopupNode

`private Object _getToolbarPopupNode(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _getToolbarPopupURLComp

`private Object _getToolbarPopupURLComp(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _getToolboxComponent

`private Object _getToolboxComponent(Object component)`
  Parameters:

    `component` |  |

  Return:
    `Object`

### _handleBlur

`private Object _handleBlur(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleClick

`private Object _handleClick(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleClonedEvent

`private Object _handleClonedEvent(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleCodeEditingModeChange

`protected Object HandleCodeEditingModeChange(Object component)`
  Subclasses should override this method to handle UI changes w.r.t. edit mode toggle.
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.HandleCodeEditingModeChange(Object)`

### HandleComponentAction

`protected Object HandleComponentAction(Object componentEvent)`
  Handles ActionEvents by children of this component.
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.HandleComponentAction(Object)`

### HandleComponentClick

`protected Object HandleComponentClick(Object componentEvent)`
  Handles a click on the component.
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlEditableValuePeer.HandleComponentClick(Object)`

### HandleComponentKeyDown

`protected Object HandleComponentKeyDown(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleComponentKeyUp

`protected Object HandleComponentKeyUp(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlEditableValuePeer.HandleComponentKeyUp(Object)`

### HandleComponentMouseDown

`protected Object HandleComponentMouseDown(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleComponentMouseUp

`protected Object HandleComponentMouseUp(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### HandleContextChanged

`protected Object HandleContextChanged()`
  Handles the changing of context. All listeners will be updated.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.HandleContextChanged()`

### _handleContextChangedForCommands

`private Object _handleContextChangedForCommands()`
  Return:
    `Object`

### _handleContextChangedForStyles

`private Object _handleContextChangedForStyles()`
  Return:
    `Object`

### _handleCopy

`private Object _handleCopy(Object event)`
  Parameters:

    `event` |  |

  Return:
    `Object`

### _handleDragEnd

`private Object _handleDragEnd(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleFocus

`private Object _handleFocus(Object evt)`
  This handles the first time we focused the component.
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleKeyDown

`private Object _handleKeyDown(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleLoad

`private Object _handleLoad(Object nativeEvent)`
  Called when the IFRAME has finished loading.
  Parameters:

    `nativeEvent` |  |

  Return:
    `Object`

### _handleMouseDown

`private Object _handleMouseDown(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### _handleMouseUp

`private Object _handleMouseUp(Object event)`
  Parameters:

    `event` |  |

  Return:
    `Object`

### _handlePaste

`private Object _handlePaste(Object event)`
  Parameters:

    `event` |  |

  Return:
    `Object`

### HandleTimerUpdate

`protected static Object HandleTimerUpdate(Object clientId)`
  Method use for handling the timer. This is used in order to do special handling of the "undo" button in ie.
  Parameters:

    `clientId` |  |

  Return:
    `Object`

### _ignoreNextEvent

`private Object _ignoreNextEvent(String styleKey)`
  Ignores the next event for the `styleKey`.
  Parameters:

    `styleKey` | - | the styleKey

  Return:
    `Object`

### Init

`protected Object Init(Object component)`
  Initializes the instance. Subclasses of AdfObject must call their superclass' Init
  Parameters:

    `component` |  |

  Return:
    `Object`
  Overrides:
    `AdfObject.Init()`

### InitConstants

`protected static Object InitConstants()`
  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.InitConstants()`

### InitDomElement

`protected Object InitDomElement(AdfUIComponent component,
HTMLElement domElement)`
  Initialize the associated domElement when the peer is created. Stateless peers are not bound at the time that this method is called.
  Parameters:

    `component` | - | Component that this peer will be associated with
    `domElement` | - | Root DOM element of this peer

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)`

### InitSubclass

`protected static Object InitSubclass()`
  Return:
    `Object`
  Overrides:
    `AdfDhtmlValuePeer.InitSubclass()`

### _invokeAdditionalCommands

`private Object _invokeAdditionalCommands(AdfRichTextEditor component,
Object element,
String command,
Object value)`
  Re-executes the previously selected commands by user when the selection is empty.
  Parameters:

    `component` | - | Component the rich text editor component
    `element` |  |
    `command` | - | The command currently executed
    `value` | - | The value of the command

  Return:
    `Object`

### _isComponentHavingFocus

`private Object _isComponentHavingFocus()`
  Return:
    `Object`

### isEmpty

`public Object isEmpty(Object value)`
  Check whether the input text is empty Return whether the input text is empty so the client side can do the validation for required field.
  Parameters:

    `value` |  |

  Return:
    `Object`
  Overrides:
    `AdfDhtmlValuePeer.isEmpty(Object)`

### _isIgnoreNextEvent

`private Boolean _isIgnoreNextEvent(String styleKey)`
  Checks if we need to ignore the next event. Lowers the count of events to ignore by 1 if the result is `true`.
  Parameters:

    `styleKey` | - | the styleKey

  Return:
    `Boolean` - null `true` if we should ignore the next event.

### _keyboardClose

`private Object _keyboardClose()`
  Return:
    `Object`

### _makeEditable

`private Object _makeEditable(AdfUIComponent component)`
  Makes a component editable, i.e. turn on the iframe and replace the contents of the iframe.
  Parameters:

    `component` | - | The component

  Return:
    `Object`

### PopupClosed

`protected Object PopupClosed(Object component,
Object contentDom,
Object popupId)`
  Hook for notifying a peer that a popup of its was just closed.
  Parameters:

    `component` |  |
    `contentDom` |  |
    `popupId` |  |

  Return:
    `Object`
  Overrides:
    `AdfRichUIPeer.PopupClosed(AdfUIComponent, HTMLElement, String)`

### _processToolbarPopupAddLinkCmd

`private Object _processToolbarPopupAddLinkCmd(Object currentLinkURL)`
  Parameters:

    `currentLinkURL` |  |

  Return:
    `Object`

### _queryCommandValue

`private Object _queryCommandValue(Object key)`
  Parameters:

    `key` |  |

  Return:
    `Object`

### _redistributeEventsToNewTarget

`private Object _redistributeEventsToNewTarget(Object evt)`
  Parameters:

    `evt` |  |

  Return:
    `Object`

### RemoveContextChangeListeners

`protected Object RemoveContextChangeListeners(AdfUIComponent component)`
  Removes the listeners for context changes.
  Parameters:

    `component` | - | The component

  Return:
    `Object`
  See also:
    `_addContextChangeListeners(HTMLDocument)`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.RemoveContextChangeListeners(Object)`

### _removeSelection

`private Object _removeSelection()`
  Removes the saved selection.
  Return:
    `Object`

### RemoveStyleBindings

`protected Object RemoveStyleBindings(AdfUIComponent component)`
  Removes all the bindings of components to a style-command.
  Parameters:

    `component` | - | The component

  Return:
    `Object`
  See also:
    "#_addStyleBinding"
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.RemoveStyleBindings(Object)`

### ResizeNotify

`protected Object ResizeNotify(Object oldWidth,
Object oldHeight,
Object newWidth,
Object newHeight)`
  Called to notify the peer of resize activity. Only called if peer overrides needsResizeNotify() to return true.
  Parameters:

    `oldWidth` |  |
    `oldHeight` |  |
    `newWidth` |  |
    `newHeight` |  |

  Return:
    `Object`
  Overrides:
    `AdfUIPeer.resizeNotify(Object, Object, Object, Object, Object)`

### _restoreSelection

`private Object _restoreSelection()`
  Restores the previous selection, if necessary.
  Return:
    `Object`

### _saveSelection

`private Object _saveSelection()`
  Saves of the current selection, if necessary.
  Return:
    `Object`

### _setInlineFrameContent

`private Object _setInlineFrameContent(HTMLElement inlineFrame,
String content)`
  Sets `content` as the content of the inline frame.
  Parameters:

    `inlineFrame` | - | The inline frame
    `content` | - | The content

  Return:
    `Object`

### _setInlineFrameStyle

`private Object _setInlineFrameStyle(Object inlineFrameDocument)`
  Parameters:

    `inlineFrameDocument` |  |

  Return:
    `Object`

### _showToolbarPopup

`private Object _showToolbarPopup(Object nativeEvent)`
  Parameters:

    `nativeEvent` |  |

  Return:
    `Object`

### StopDialogsFromBeingInactivatedDueToIframes

`protected Object StopDialogsFromBeingInactivatedDueToIframes()`
  Since the richTextEditor uses an iframe, it is possible that dialogs containing this component will become inactivated when focus is moved into the iframe. In Firefox 2, we can prevent the inactivation of the dialog by cancelling the blur timeout. In Firefox 3, there is a new activeElement on the document that can be used to avoid this issue. If the dialog is already dismissed and the user clicks inside of the dialog, we really want to make it active. The only way to do that is to abstain from cancelling the timeout since the auto-dismissal manager will then be able to look at the active element and make changes as necessary.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.StopDialogsFromBeingInactivatedDueToIframes()`

### _styleBindingActionListener

`private Object _styleBindingActionListener(AdfActionEvent event)`
  Handles the events fired by the components that are bound to this component.
  Parameters:

    `event` | - | The ActionEvent.

  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer._styleBindingActionListener(Object)`

### _toggleSelectionStyling

`private Boolean _toggleSelectionStyling(String styleKey)`
  Toggles the styling with `styleKey` on the current selection.
  Parameters:

    `styleKey` | - | The styleKey

  Return:
    `Boolean` - The new value for `styleKey`

### _toolbarPopupDisplayedTextBlur

`private Object _toolbarPopupDisplayedTextBlur(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### _toolbarPopupURLBlur

`private Object _toolbarPopupURLBlur(Object componentEvent)`
  Parameters:

    `componentEvent` |  |

  Return:
    `Object`

### _toolboxVisitChildrenCallback

`private static Number _toolboxVisitChildrenCallback(AdfUIComponent component)`
  Callback for the visitor of children components of the toolbox when switching editing modes. If it returns the number zero (or false), iteration will continue. If it returns the number one (or true), iteration will not continue into the children. If it returns the number two, iteration will entirely halt. Iteration proceeds depth first, but calling the parents before the children.
  Parameters:

    `component` | - | the visited component

  Return:
    `Number` - 0 if iteration continues, 1 if iteration continues though not into children, 2 if iteration is to entirely halt

### _updateInlineFrameStyle

`private Object _updateInlineFrameStyle(Object inlineFrameBodyInlineStyle)`
  Updates the _inlineFrameBodyInlineStyle
  Parameters:

    `inlineFrameBodyInlineStyle` |  |

  Return:
    `Object`

### _updateToolbarPopupURLVal

`private Object _updateToolbarPopupURLVal()`
  Return:
    `Object`

### UpdateValue

`protected Object UpdateValue()`
  Updates the value of the component in the hidden form element.
  Return:
    `Object`
  Overrides:
    `AdfDhtmlRichTextEditorBasePeer.UpdateValue()`

SUMMARY: FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81451-01
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.