Class OGLLayerManagerFactory
java.lang.Object
org.web3d.vrml.renderer.ogl.browser.OGLLayerManagerFactory
- All Implemented Interfaces:
LayerManagerFactory
Layer manager factory instance that creates OpenGL-specific layers
handlers.
- Version:
- $Revision: 1.3 $
- Author:
- Justin Couch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new layer manager instance.void
setErrorReporter
(org.j3d.util.ErrorReporter reporter) Register an error errorReporter with the factory instance so that any errors generated by the creation of nodes can be reported in a nice, pretty fashion.
-
Constructor Details
-
OGLLayerManagerFactory
public OGLLayerManagerFactory()Create a new default instance of this factory.
-
-
Method Details
-
createLayerManager
Create a new layer manager instance.- Specified by:
createLayerManager
in interfaceLayerManagerFactory
- Returns:
- a new clean layer manager
-
setErrorReporter
public void setErrorReporter(org.j3d.util.ErrorReporter reporter) Register an error errorReporter with the factory instance so that any errors generated by the creation of nodes can be reported in a nice, pretty fashion. Setting a value of null will clear the currently set errorReporter. If one is already set, the new value replaces the old.- Specified by:
setErrorReporter
in interfaceLayerManagerFactory
- Parameters:
reporter
- The instance to use or null
-