JavaScript API Reference for Oracle ADF Faces
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||
org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.agent.AdfEditingAgent
public class AdfEditingAgent extends AdfObject
Field Summary | 
|---|
Fields inherited from oracle.adf.view.js.base.AdfObject | 
constructor, superclass | 
Fields inherited from org.ecmascript.object.Object | 
prototype | 
Constructor Summary | 
|
|---|---|
public | 
  | 
Method Summary | 
|
|---|---|
protected Object | 
  | 
public Object | 
  | 
private Object | 
  | 
protected Object | 
  | 
protected Object | 
  | 
public Object | 
|
public HTMLFrameElement | 
  | 
public Object | 
|
public Object | 
  | 
public String | 
  | 
public HTMLDocument | 
  | 
public static AdfEditingAgent | 
  | 
private String | 
  | 
public Object | 
  | 
public Object | 
|
public Object | 
  | 
public Object | 
  | 
public Object | 
  | 
protected Boolean | 
  | 
public Boolean | 
  | 
private Boolean | 
  | 
public Boolean | 
  | 
public Object | 
  | 
public Object | 
  | 
protected Boolean | 
  | 
protected Boolean | 
  | 
public Object | 
  | 
public Boolean | 
  | 
public Object | 
  | 
public Object | 
  | 
public String | 
  | 
public Object | 
  | 
Methods inherited from oracle.adf.view.js.base.AdfObject | 
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, Init, toDebugString, toString | 
Field Detail | 
|---|
Constructor Detail | 
|---|
public AdfEditingAgent()
Method Detail | 
|---|
protected Object CreateLink(AdfRichTextEditor component,
                            HTMLElement doc,
                            String value)component | 
- | Component the rich text editor component | 
doc | 
- | The editable document | 
value | 
- | The value given by the user | 
Objectpublic Object execCommand(AdfRichTextEditor component,
                          HTMLFrameElement inlineFrame,
                          String command,
                          Object value)component | 
- | Component the rich text editor component | 
inlineFrame | 
- | The inline frame | 
command | 
- | The command to execute | 
value | 
- | The value of the command | 
Object - the objectprivate Object _executeCommand(AdfRichTextEditor component,
                               HTMLElement doc,
                               String command,
                               String value)component | 
- | component the rich text editor component | 
doc | 
- | The editable document | 
command | 
- | The command to execute | 
value | 
- | The parameter paired with the command | 
Objectprotected Object ExecuteRedo(AdfRichTextEditor component,
                             HTMLFrameElement inlineFrame,
                             HTMLElement doc)component | 
- | Component the rich text editor component | 
inlineFrame | 
- | The inline frame | 
doc | 
- | The editable document | 
Objectprotected Object ExecuteUndo(AdfRichTextEditor component,
                             HTMLFrameElement inlineFrame,
                             HTMLElement doc)component | 
- | Component the rich text editor component | 
inlineFrame | 
- | The inline frame | 
doc | 
- | The editable document | 
Objectpublic Object getColor(Object value)value | 
Objectpublic HTMLFrameElement getContentWindow(HTMLElement inlineFrame)inlineFrame | 
- | The inline frame | 
HTMLFrameElement - The window-object of the inline frame.public Object getDefaultContent()Objectpublic Object getFocusBlurElement(HTMLFrameElement inlineFrame)inlineFrame | 
- | The inline-frame | 
Objectpublic String getInlineFrameContent(HTMLFrameElement inlineFrame,
                                    Object keepOriginal)inlineFrame | 
- | The inline frame | 
keepOriginal | 
- | indicates whether content should be returned as is without removing unnecessary content | 
String - The content of the inline frame.public HTMLDocument getInlineFrameDocument(HTMLFrameElement inlineFrame)inlineFrame | 
- | The inline frame | 
HTMLDocument - The document of the inline frame.public static AdfEditingAgent getInstance()AdfEditingAgent - the instance.private String _getLinkURLForSelection(AdfRichTextEditor component,
                                       HTMLFrameElement inlineFrame)component | 
- | The rich text editor component | 
inlineFrame | 
- | The inline frame | 
String - The URL of the link that contains the selectionpublic Object getSelectionRange(HTMLFrameElement inlineFrame)inlineFrame | 
- | The inline frame | 
Objectpublic Object handleTab(Object inlineFrame,
                        Object keyDownEvt)inlineFrame | 
||
keyDownEvt | 
Objectpublic Object insertHtmlAtSelection(HTMLFrameElement inlineFrame,
                                    String htmlFragment)inlineFrame | 
- | the inline frame | 
htmlFragment | 
- | the HTML fragment to insert | 
Objectpublic Object isDesignMode(HTMLFrameElement inlineFrame)inlineFrame is in designMode.inlineFrame | 
- | The inline frame | 
Objectpublic Object isDesignModeReloadingFrame()Objectprotected Boolean IsNodeWrappingRange(Range range,
                                      Node node)range | 
- | The range object, usually corresponding to a seleciton | 
node | 
- | The node object that potentially wrapps the range | 
Boolean - Whether the supplied node wraps the supplied rangepublic Boolean queryCommandEnabled(AdfRichTextEditor component,
                                   HTMLFrameElement inlineFrame,
                                   String command)component | 
- | Component the rich text editor component | 
inlineFrame | 
- | The inline frame | 
command | 
- | The command to check | 
Boolean - Whether the command is enabledprivate Boolean _queryCommandEnabled(AdfRichTextEditor component,
                                     HTMLFrameElement inlineFrame,
                                     String command)component | 
- | The rich text editor component | 
inlineFrame | 
- | The inline frame | 
command | 
- | The command to check | 
Boolean - Whether the command is enabledpublic Boolean queryCommandIndeterminate(HTMLFrameElement inlineFrame,
                                         String commandIdentifier)inlineFrame | 
- | The inline frame | 
commandIdentifier | 
- | The command | 
Boolean - Whether the command is indeterminate.public Object queryCommandState(HTMLFrameElement inlineFrame,
                                String commandIdentifier)inlineFrame | 
- | The inline frame | 
commandIdentifier | 
- | The command | 
Object - the value for the commandpublic Object queryCommandValue(HTMLFrameElement inlineFrame,
                                String commandIdentifier)inlineFrame | 
- | The inline frame | 
commandIdentifier | 
- | The command | 
Object - The value for the commandprotected Boolean QueryRedoEnabled(AdfRichTextEditor component,
                                   HTMLFrameElement inlineFrame)component | 
- | The rich text editor component | 
inlineFrame | 
- | The inline frame | 
Boolean - Whether the command is enabledprotected Boolean QueryUndoEnabled(AdfRichTextEditor component,
                                   HTMLFrameElement inlineFrame)component | 
- | The rich text editor component | 
inlineFrame | 
- | The inline frame | 
Boolean - Whether the command is enabledpublic Object setInlineFrameContent(HTMLFrameElement inlineFrame,
                                    String newContent)inlineFrame | 
- | The inline frame | 
newContent | 
- | The new content of the inline frame | 
Objectpublic Boolean setInlineFrameContentEditable(HTMLFrameElement inlineFrame)inlineFrame | 
- | The inline frame | 
Boolean - Whether the action succeededpublic Object setRTL(HTMLDocument doc)doc | 
- | The document | 
Objectpublic Object setSelectionRange(HTMLFrameElement inlineFrame,
                                DOMSelection range)inlineFrame | 
- | The inlineFrame | 
range | 
- | The range | 
Objectpublic String toBrowserSpecificCommand(String command)command | 
- | The command | 
String - The new commandpublic Object updateValueHistory(AdfRichTextEditor component,
                                 HTMLFrameElement inlineFrame,
                                 String newValue)component | 
- | Component the rich text editor component | 
inlineFrame | 
- | The inline frame | 
newValue | 
- | The new value | 
Object
  | 
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.2) E23186-01  | 
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||