|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.nodes.loader.DefaultScriptLoader
A utility class who's sole job is to take a script node and load the contents and get the runtime items happening.
| Constructor Summary | |
DefaultScriptLoader()
Create a new script loader that represents the given browser. |
|
| Method Summary | |
int |
getNumberInProgress()
Get the number of items in progress of loading. |
void |
loadScript(VRMLScriptNodeType script)
Attempt to load the script. |
void |
registerScriptingEngine(ScriptEngine engine)
Register a new scripting engine with this loader. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
void |
setStatusListener(ScriptLoadStatusListener l)
Set the script load status listener for this loader. |
void |
shutdown()
Notification that the manager needs to shut down all the currently running threads. |
void |
unregisterScriptingEngine(ScriptEngine engine)
Unregister a the scripting engine with this loader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultScriptLoader()
| Method Detail |
public void setErrorReporter(ErrorReporter reporter)
setErrorReporter in interface ScriptLoaderreporter - The instance to use or nullpublic void registerScriptingEngine(ScriptEngine engine)
registerScriptingEngine in interface ScriptLoaderengine - The new engine instance to registerpublic void unregisterScriptingEngine(ScriptEngine engine)
unregisterScriptingEngine in interface ScriptLoaderengine - The engine instance to deregisterpublic void setStatusListener(ScriptLoadStatusListener l)
setStatusListener in interface ScriptLoaderl - The listener instance to use or nullpublic void loadScript(VRMLScriptNodeType script)
loadScript in interface ScriptLoaderscript - The script instance to loadpublic int getNumberInProgress()
getNumberInProgress in interface ScriptLoaderpublic void shutdown()
shutdown in interface ScriptLoader
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||