|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 11g Release 2 (11.1.2.1.0) E17489-02 |
||||||||
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, 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 |
Object
public 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 |
Object
protected Object ExecuteRedo(AdfRichTextEditor component,
HTMLFrameElement inlineFrame,
HTMLElement doc)
component |
- | Component the rich text editor component |
inlineFrame |
- | The inline frame |
doc |
- | The editable document |
Object
protected Object ExecuteUndo(AdfRichTextEditor component,
HTMLFrameElement inlineFrame,
HTMLElement doc)
component |
- | Component the rich text editor component |
inlineFrame |
- | The inline frame |
doc |
- | The editable document |
Object
public Object getColor(Object value)
value |
Object
public HTMLFrameElement getContentWindow(HTMLElement inlineFrame)
inlineFrame |
- | The inline frame |
HTMLFrameElement
- The window-object of the inline frame.public Object getDefaultContent()
Object
public Object getFocusBlurElement(HTMLFrameElement inlineFrame)
inlineFrame |
- | The inline-frame |
Object
public 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 |
Object
public Object handleTab(Object inlineFrame,
Object keyDownEvt)
inlineFrame |
||
keyDownEvt |
Object
public Object insertHtmlAtSelection(HTMLFrameElement inlineFrame,
String htmlFragment)
inlineFrame |
- | the inline frame |
htmlFragment |
- | the HTML fragment to insert |
Object
public Object isDesignMode(HTMLFrameElement inlineFrame)
inlineFrame
is in designMode.inlineFrame |
- | The inline frame |
Object
public Object isDesignModeReloadingFrame()
Object
protected 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 |
Object
public Boolean setInlineFrameContentEditable(HTMLFrameElement inlineFrame)
inlineFrame |
- | The inline frame |
Boolean
- Whether the action succeededpublic Object setRTL(HTMLDocument doc)
doc |
- | The document |
Object
public Object setSelectionRange(HTMLFrameElement inlineFrame,
DOMSelection range)
inlineFrame |
- | The inlineFrame |
range |
- | The range |
Object
public 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 11g Release 2 (11.1.2.1.0) E17489-02 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |