JavaScript API Reference for Oracle ADF Faces
oracle.adfinternal.view.js.laf.dhtml.scriptLoading
Class AdfLoadableScript
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
- Direct Known Subclasses:
- AdfCallbackLoadableScript, AdfDomLibraryLoadableScript, AdfInlineLoadableScript, AdfXmlHttpLibraryLoadableScript
public class AdfLoadableScript
extends AdfObject
Contract for scripts that are capable of loading themselves on demand.
Constructor Summary
|
public |
AdfLoadableScript(Object domWindow)
-
Contract for scripts that are capable of loading themselves on demand.
|
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 _domWindow
public AdfLoadableScript(Object domWindow)
Contract for scripts that are capable of loading themselves on demand.
- Parameters:
-
protected Object ExecScript(Object content,
Object name)
Executes the specified script content.
- Parameters:
-
content |
- |
the script content to execute |
name |
- |
an optional identifier (eg. a library source uri) that is used for error reporting purposes. |
- Return:
Object
public Object getLoadMethod()
Returns the loading method used to load this script.
- Return:
Object
- One of the concrete AdfScriptLoadingService loading methods: METHOD_SYNCHRONOUS, METHOD_ASYNCHRONOUS or METHOD_BACKGROUND.
protected Object Init(Object domWindow)
Initializes the AdfLoadableScript.
- Parameters:
-
- Return:
Object
- Overrides:
AdfObject.Init()
public Object load(Object loadCallback)
Loads this script.
- Parameters:
-
loadCallback |
- |
a function that is called when the script finishes loading. If the script has loaded an exernal library, the source uri of the library is passed into the callback as the first (and only) argument. |
- Return:
Object
Generated on 2014.03.27 12:59 UTC
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.