|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-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 _asyncCallback
private Object _domDocument
private Object _domWindow
private Object _initLoadedLibraries
private Object _loadableScripts
private Object _loading
private Object _loadingScript
private Object _loadListeners
public static Object METHOD_ANY
addLibraryScript(Object, Object)
public static Object METHOD_ASYNCHRONOUS
addLibraryScript(Object, Object)
addLoadListener(Object)
public static Object METHOD_BACKGROUND
addLibraryScript(Object, Object)
public static Object METHOD_SYNCHRONOUS
addLibraryScript(Object, Object)
private Object _policy
public static Object POLICY_AUTO
public static Object POLICY_CROSS_ORIGIN
public static Object POLICY_SAME_ORIGIN
private Object _sameOriginRegexp
public static Object STATUS_LOADED
addLoadListener(Object)
public static Object STATUS_LOADING
addLoadListener(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 |
Object
public Object addInlineScript(Object content)
content |
- | the content of the script to load. |
Object
public 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. |
Object
private Object _addLoadableScript(Object loadableScript)
loadableScript |
Object
public Object addLoadListener(Object listener)
listener |
- | a single-argument method that is notified of loading/loaded activity. |
Object
private Object _asyncLoadComplete(Object librarySource)
librarySource |
Object
protected 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()
Object
protected Object GetDomDocument()
Object
protected Object GetDomWindow()
Object
protected Object Init(Object domWindow,
Object domDocument,
Object policy)
domWindow |
||
domDocument |
||
policy |
Object
AdfObject.Init()
protected static Object InitClass()
Object
private Object _initLoadedLibraries(Object domDocument)
domDocument |
Object
private Object _isLibraryLoaded(Object librarySource)
librarySource |
Object
private Object _isSameOrigin(Object librarySource)
librarySource |
Object
private Object _loadNextScript()
Object
private Object _markLibraryLoaded(Object librarySource)
librarySource |
Object
private Object _notify(Object status)
status |
Object
private Object _notifyLoaded()
Object
private Object _notifyLoading()
Object
public Object removeLoadListener(Object listener)
listener |
- | the lister to remove |
Object
private 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.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |