|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An internal listener to allow the ScriptLoader and ScriptManager to communicate load state for the scripts.
The listener interface is used rather than a common array because the loader is typically operating on a separate thread and having a queue between the two will have multi-threaded issues. Using this listener reduces the multi-threaded issues to just one class and thus making it easy to manage.
| Method Summary | |
void |
loadCompleted(VRMLScriptNodeType script)
Notification of a successful load of a script. |
void |
loadFailed(VRMLScriptNodeType script)
Notification of a failed load of a script when none of the URLs could be loaded. |
| Method Detail |
public void loadCompleted(VRMLScriptNodeType script)
script - The script that was loaded correctlypublic void loadFailed(VRMLScriptNodeType script)
script - The script that failed to load
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||