|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
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.AdfDhtmlRichTextEditorPeer
public class AdfDhtmlRichTextEditorPeer extends AdfDhtmlEditableValuePeer
Field Summary |
|
---|---|
private Object |
|
protected static Object |
Fields inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlEditableValuePeer |
ComponentLabelChanged |
Fields inherited from oracle.adf.view.js.laf.rich.AdfRichUIPeer |
addComponentPropertyChanges, addComponentPropertyGetters, BUSY_STYLECLASS, DISABLED_STYLECLASS, DRAG_SOURCE_STYLECLASS, DROP_TARGET_STYLECLASS, FOCUS_TARGET_STYLECLASS, HOVER_TARGET_STYLECLASS, READONLY_STYLECLASS |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
private Object |
|
public Object |
|
public Object |
|
protected Object |
|
private HTMLElement |
|
private Boolean |
|
protected Object |
|
private Object |
|
public Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected static Object |
|
private Object |
|
protected Object |
|
protected static Object |
|
protected Object |
|
protected static Object |
|
public Object |
|
private Boolean |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
protected Object |
|
public Object |
|
protected Object |
|
private Object |
|
private Object |
|
protected Object |
|
private Object |
|
private Object |
|
private Boolean |
|
private static Number |
|
private Object |
|
Methods inherited from oracle.adfinternal.view.js.laf.dhtml.rich.AdfDhtmlValuePeer |
ComponentValueChanged, getConvertedObject, getConvertedValue, getFormatHint, GetNullDefault |
Methods inherited from oracle.adf.view.js.base.AdfUIPeer |
getDefaultDragRecognizer, getParentPeer, initiateDrag, isVisible, needsResizeNotify |
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
Field Detail |
---|
private Object _ignoreEvents
protected static Object InitConstants
Constructor Detail |
---|
public AdfDhtmlRichTextEditorPeer()
Method Detail |
---|
public Object addBinding(String componentClientId,
Object componentClient,
String command,
String commandParameter,
String propertyName,
String eventType)
command
.componentClientId |
- | The component to bind to the richTextEditor |
componentClient |
||
command |
- | The command to use for the binding. |
commandParameter |
- | Null or the optional parameter for the command.
Default value = null
|
propertyName |
- | The propertyName to bind to (only needed for STYLE_ commands).
Default value = null
|
eventType |
- | The type of event to bind to. This only works for STYLE_ commands.
Default value = AdfActionEvent.ACTION_EVENT_TYPE
|
Object
_addStyleBinding(String, String, String, String)
_addCommandBinding(Object, Object, String, String)
private Object _addCommandBinding(Object componentId,
Object bindComponent,
String command,
String commandParameter)
componentId |
||
bindComponent |
||
command |
- | The command to bind to. |
commandParameter |
- | Null or the optional parameter for the command.
Default value = null
|
Object
private Object _addContextChangeListeners(HTMLDocument field)
field |
- | The document |
Object
private Object _addStyleBinding(String componentId,
String propertyName,
String styleKey,
String eventType)
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.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
|
Object
private Object _cmdCreateLink()
Object
private Object _commandBindingActionListener(AdfActionEvent event)
event |
- | The ActionEvent. |
Object
protected Object ComponentRemoved(AdfUIComponent component)
component |
- | The component |
Object
AdfUIPeer.componentRemoved(AdfUIComponent)
private Object _createIframe(Object component)
component |
Object
private Object _execCommand(String key,
Object value)
key |
- | The command to execute |
value |
- | The value of the command |
Object
public Object executeCommand(Object cmd,
Object value)
cmd |
||
value |
Object
public Object focus(AdfUIComponent component)
component |
- | The component |
Object
AdfUIPeer.focus(Object)
protected Object GetComponentLabel(Object component,
Object domElement)
component |
||
domElement |
Object
AdfDhtmlEditableValuePeer.GetComponentLabel(Object, Object)
private HTMLElement _getContentField(Object component)
component |
HTMLElement
- the contentFieldprivate Boolean _getIndeterminateStyling(String styleKey)
styleKey
is currently indeterminate.styleKey |
- | The styleKey to use, e.g. AdfDhtmlRichTextEditorPeer.STYLE_BOLD . |
Boolean
- null true
if the command is indeterminate.protected Object GetInlineEditor(Event event)
event |
- | DOM Event that triggered the inline edit |
Object
AdfRichUIPeer.getInlineEditor(AdfUIComponent, Object)
private Object _getOneThroughSevenFontSize(Object value)
value |
Object
public Object getSelectionRange(Object component)
component |
Object
private Object _getSelectionStyling(String styleKey)
styleKey |
- | The styleKey to use, e.g. AdfDhtmlRichTextEditorPeer.STYLE_BOLD . |
Object
- The value of the selection for this styleKey
.private Object _getSourceCodeField(Object component)
component |
Object
protected Object GetSubmittedValue(AdfUIComponent component,
HTMLElement domElement)
component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
Object
- submittedValueAdfDhtmlEditableValuePeer.GetSubmittedValue(Object, Object)
private Object _handleBlur(Object evt)
evt |
Object
protected Object HandleComponentAction(Object componentEvent)
componentEvent |
Object
protected Object HandleComponentClick(Object componentEvent)
componentEvent |
Object
AdfDhtmlEditableValuePeer.HandleComponentClick(Object)
protected Object HandleComponentFocus(Object componentEvent)
componentEvent |
Object
AdfDhtmlEditableValuePeer.HandleComponentFocus(Object)
private Object _handleContextChanged()
Object
private Object _handleContextChangedForCommands()
Object
private Object _handleContextChangedForStyles()
Object
private Object _handleFocus(Object evt)
evt |
Object
private Object _handleKeyDown(Object evt)
evt |
Object
private Object _handleLoad(Object nativeEvent)
nativeEvent |
Object
private Object _handleMouseDown(Object evt)
evt |
Object
protected static Object HandleTimerUpdate(Object clientId)
clientId |
Object
private Object _ignoreNextEvent(String styleKey)
styleKey
.styleKey |
- | the styleKey |
Object
protected Object Init(Object component)
component |
Object
AdfObject.Init()
protected static Object InitConstants()
Object
protected Object InitDomElement(AdfUIComponent component,
HTMLElement domElement)
component |
- | Component that this peer will be associated with |
domElement |
- | Root DOM element of this peer |
Object
AdfRichUIPeer.InitDomElement(AdfUIComponent, Object)
protected static Object InitSubclass()
Object
AdfDhtmlValuePeer.InitSubclass()
public Object isEmpty(Object value)
value |
Object
AdfDhtmlValuePeer.isEmpty(Object)
private Boolean _isIgnoreNextEvent(String styleKey)
true
.styleKey |
- | the styleKey |
Boolean
- null true
if we should ignore the next event.private Object _makeEditable(AdfUIComponent component)
component |
- | The component |
Object
private Object _queryCommandValue(Object key)
key |
Object
private Object _removeCommandBindings(AdfUIComponent component)
component |
- | The component |
Object
_addCommandBinding(Object, Object, String, String)
private Object _removeContextChangeListeners(AdfUIComponent component)
component |
- | The component |
Object
_addContextChangeListeners(HTMLDocument)
private Object _removeSelection()
Object
private Object _removeStyleBindings(AdfUIComponent component)
component |
- | The component |
Object
_addStyleBinding(String, String, String, String)
private Object _restoreSelection()
Object
private Object _saveSelection()
Object
protected Object ScrollIntoView(Object component,
Object focus,
String subTargetId)
component |
||
focus |
||
subTargetId |
- | optional component dependent DOM sub-id that needs to be scrolled/focused into view
Default value = null
|
Object
AdfRichUIPeer.scrollIntoView(Object, Object, String)
public Object setCodeEditingMode(Boolean newCodeEditingMode)
newCodeEditingMode |
- | true for code mode, and false for rich text |
Object
protected Object SetDisplayValue(AdfUIComponent component,
HTMLElement domElement,
String newValue)
component |
- | The component |
domElement |
- | The domElement |
newValue |
- | The new value |
Object
AdfDhtmlValuePeer.SetDisplayValue(Object, Object, Object)
private Object _setInlineFrameContent(HTMLElement inlineFrame,
String content)
content
as the content of the inline frame.inlineFrame |
- | The inline frame |
content |
- | The content |
Object
private Object _setInlineFrameStyle(Object inlineFrameDocument)
inlineFrameDocument |
Object
protected Object ShowFormatHint()
Object
private Object _stopDialogsFromBeingInactivatedDueToIframes()
Object
private Object _styleBindingActionListener(AdfActionEvent event)
event |
- | The ActionEvent. |
Object
private Boolean _toggleSelectionStyling(String styleKey)
styleKey
on the current selection.styleKey |
- | The styleKey |
Boolean
- The new value for styleKey
private static Number _toolboxVisitChildrenCallback(AdfUIComponent component)
component |
- | the visited component |
Number
- 0 if iteration continues, 1 if iteration continues though not into children, 2 if iteration is to entirely haltprivate Object _updateValue()
Object
|
Oracle Fusion Middleware JavaScript API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E12046-05 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |