JavaScript API Reference for Oracle ADF Faces
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.3) E80085-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.laf.dhtml.scriptLoading.AdfScriptLoadingService
public class AdfScriptLoadingService extends AdfObject
Field Summary |
|
|---|---|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
private Object |
|
public static Object |
|
public static Object |
|
public static Object |
|
private Object |
|
public static Object |
|
public static Object |
|
private Object |
|
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 |
|
public Object |
|
public Object |
|
private Object |
|
public Object |
|
private Object |
|
protected Object |
|
private Object |
|
protected Object |
|
protected Object |
|
protected Object |
|
protected static Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
private Object |
|
public Object |
|
private static String |
|
private Object |
|
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 |
|---|
private Object _asyncCallbackprivate Object _domDocumentprivate Object _domWindowprivate Object _initLoadedLibrariesprivate Object _loadableScriptsprivate Object _loadingprivate Object _loadingScriptprivate Object _loadListenerspublic static Object METHOD_ANYaddLibraryScript(Object, Object)public static Object METHOD_ASYNCHRONOUSaddLibraryScript(Object, Object)addLoadListener(Object)public static Object METHOD_BACKGROUNDaddLibraryScript(Object, Object)public static Object METHOD_SYNCHRONOUSaddLibraryScript(Object, Object)private Object _policypublic static Object POLICY_AUTOpublic static Object POLICY_CROSS_ORIGINpublic static Object POLICY_SAME_ORIGINprivate Object _sameOriginRegexppublic static Object STATUS_LOADEDaddLoadListener(Object)public static Object STATUS_LOADINGaddLoadListener(Object)private Object _syncCallback
Constructor Detail |
|---|
public AdfScriptLoadingService(Object domWindow,
Object domDocument,
Object policy)domWindow |
||
domDocument |
||
policy |
Method Detail |
|---|
public Object addCallbackScript(Object context,
Function callback,
Object state)context |
- | Object to pass as "this" to the callback |
callback |
- | the function to call |
state |
- | State parameter passed to the callback |
Objectpublic Object addInlineScript(Object content)content |
- | the content of the script to load. |
Objectpublic Object addLibraryScript(Object librarySource,
Object loadMethod)librarySource |
- | the source (uri) for the external library resource |
loadMethod |
- | hint indicating how the script should be loaded. One of METHOD_SYNCHRONOUS, METHOD_ASYNCHRONOUS, METHOD_BACKGROUND, METHOD_ANY. |
Objectprivate Object _addLoadableScript(Object loadableScript)loadableScript |
Objectpublic Object addLoadListener(Object listener)listener |
- | a single-argument method that is notified of loading/loaded activity. |
Objectprivate Object _asyncLoadComplete(Object librarySource)librarySource |
Objectprotected Object CreateLibraryLoadableScript(Object librarySource,
Object loadMethod)librarySource |
- | the source (uri) for the external library resource |
loadMethod |
- | hint indicating how the script should be loaded. One of METHOD_SYNCHRONOUS, METHOD_ASYNCHRONOUS, METHOD_BACKGROUND, METHOD_ANY. |
Object - an AdfLoadableScript that is capable of loading the specified library script.private Object _createSameOriginRegexp()Objectprotected Object GetDomDocument()Objectprotected Object GetDomWindow()Objectprotected Object Init(Object domWindow,
Object domDocument,
Object policy)domWindow |
||
domDocument |
||
policy |
ObjectAdfObject.Init()protected static Object InitClass()Objectprivate Object _initLoadedLibraries(Object domDocument)domDocument |
Objectprivate Object _isLibraryLoaded(Object librarySource)librarySource |
Objectprivate Object _isSameOrigin(Object librarySource)librarySource |
Objectprivate Object _loadNextScript()Objectprivate Object _markLibraryLoaded(Object librarySource)librarySource |
Objectprivate Object _notify(Object status)status |
Objectprivate Object _notifyLoaded()Objectprivate Object _notifyLoading()Objectpublic Object removeLoadListener(Object listener)listener |
- | the lister to remove |
Objectprivate static String _stripSessionId(String uri)uri |
- | that might have a session Id encoded |
String - uri stripped of the session idprivate Object _syncLoadComplete(Object librarySource)librarySource |
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.2.1.3) E80085-01 |
||||||||
| PREV NEXT | FRAMES NO FRAMES Warning: private items are visible | ||||||||