Package org.xj3d.core.eventmodel
Interface LayerManagerFactory
- All Known Implementing Classes:
NullLayerManagerFactory
,OGLLayerManagerFactory
public interface LayerManagerFactory
Factory for generating renderer-specific instances of LayerManagers.
Layer managers are inherently renderer-specific and this factory is used as the glue between the generalised event model handling, and the renderer-specific codes for per-layer handling
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new layer manager instance.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
-
createLayerManager
LayerManager createLayerManager()Create a new layer manager instance.- Returns:
- a new clean layer manager
-
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
-