Package org.xj3d.loaders.ogl
Class NullLayerManagerFactory
java.lang.Object
org.xj3d.loaders.ogl.NullLayerManagerFactory
- All Implemented Interfaces:
LayerManagerFactory
Layer manager factory instance that creates null layers
handlers.
- Version:
- $Revision: 1.1 $
- Author:
- Alan Hudson
-
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
-
NullLayerManagerFactory
public NullLayerManagerFactory()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
-