JavaScript API Reference for Oracle ADF Faces
oracle.adfinternal.view.js.laf.dhtml.scriptLoading
Class AdfDomLibraryLoadableScript
Warning:
- This is an unsupported, internal implementation class.
- Use an API class that might provide equivalent functionality instead.
- This class will change without notice.
- It is not recommended that you use anything in this class.
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfObject
|
+--oracle.adfinternal.view.js.laf.dhtml.scriptLoading.AdfLoadableScript
|
+--oracle.adfinternal.view.js.laf.dhtml.scriptLoading.AdfDomLibraryLoadableScript
public class AdfDomLibraryLoadableScript
extends AdfLoadableScript
AdfLoadableScript implementation that loads external JavaScript libraries via DOM APIs (ie. by inserting script elements into the DOM). This implementation supports cross-origin library loading, but only supports asynchronous/background loading.
Methods inherited from oracle.adf.view.js.base.AdfObject
|
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString |
private Object _domDocument
private Object _librarySource
private Object _loadCompleteCallback
private Object _loaded
private Object _loadMethod
public AdfDomLibraryLoadableScript(Object domWindow,
Object domDocument,
Object librarySource,
Object loadMethod)
AdfLoadableScript implementation that loads external JavaScript libraries via DOM APIs (ie. by inserting script elements into the DOM). This implementation supports cross-origin library loading, but only supports asynchronous/background loading.
- Parameters:
-
domWindow |
|
|
domDocument |
|
|
librarySource |
|
|
loadMethod |
|
|
public Object getLoadMethod()
Returns the loading method used to load this script.
- Return:
Object
- Overrides:
AdfLoadableScript.getLoadMethod()
protected Object Init(Object domWindow,
Object domDocument,
Object librarySource,
Object loadMethod)
Initializes the AdfDomLibraryLoadableScript.
- Parameters:
-
domWindow |
|
|
domDocument |
|
|
librarySource |
|
|
loadMethod |
|
|
- Return:
Object
- Overrides:
AdfObject.Init()
private Object _isLoadComplete(Object evt,
Object scriptElement)
- Parameters:
-
- Return:
Object
public Object load(Object loadCallback)
Loads this script.
- Parameters:
-
- Return:
Object
- Overrides:
AdfLoadableScript.load(Object)
private Object _loadComplete(Object evt)
- Parameters:
-
- Return:
Object
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.