Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.renderer.ogl.browser
Class OGLLayerManagerFactory

java.lang.Object
  extended by org.web3d.vrml.renderer.ogl.browser.OGLLayerManagerFactory
All Implemented Interfaces:
LayerManagerFactory

public class OGLLayerManagerFactory
extends java.lang.Object
implements LayerManagerFactory

Layer manager factory instance that creates OpenGL-specific layers handlers.

Version:
$Revision: 1.3 $
Author:
Justin Couch

Constructor Summary
OGLLayerManagerFactory()
          Create a new default instance of this factory.
 
Method Summary
 LayerManager createLayerManager()
          Create a new layer manager instance.
 void setErrorReporter(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OGLLayerManagerFactory

public OGLLayerManagerFactory()
Create a new default instance of this factory.

Method Detail

createLayerManager

public LayerManager createLayerManager()
Create a new layer manager instance.

Specified by:
createLayerManager in interface LayerManagerFactory
Returns:
a new clean layer manager

setErrorReporter

public void setErrorReporter(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 interface LayerManagerFactory
Parameters:
reporter - The instance to use or null

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium