Package org.xj3d.core.eventmodel
Interface ExternalView
- All Known Implementing Classes:
ExternalEventQueue
,NetworkEventQueue
public interface ExternalView
Abstract representation of code that presents an external view of the
browser to client code.
This interface is used to present hooks from the internals of a VRML browser to code that implements the EAI or SAI external interface. It allows synchronisation and management to go back and forth and allow easy synchronisation of updates to avoid multi-threading issues.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Notification that the external view should clear it's state in preparation for either loading a new world or shutting down completely.void
Notification that the external view should now process and propagate to the underlying nodes.void
setErrorReporter
(org.j3d.util.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.
-
Method Details
-
setErrorReporter
void setErrorReporter(org.j3d.util.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. Setting a value of null will clear the currently set reporter. If one is already set, the new value replaces the old.- Parameters:
reporter
- The instance to use or null
-
processEvents
void processEvents()Notification that the external view should now process and propagate to the underlying nodes. -
clear
void clear()Notification that the external view should clear it's state in preparation for either loading a new world or shutting down completely.
-