Package org.xj3d.impl.core.eventmodel
Class SimpleRouterFactory
java.lang.Object
org.xj3d.impl.core.eventmodel.SimpleRouterFactory
- All Implemented Interfaces:
RouterFactory
A factory interface for generating
SimpleRouter
instances.
The factory is defined as an interface because we want to provide a flexible system for defining who is to do the routing. While this package provides a number of pre-packaged routers, a renderer might wish to provide its own optimised system.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleRouterFactory
public SimpleRouterFactory()
-
-
Method Details
-
newRouter
Create a new Router instance for use by the caller.- Specified by:
newRouter
in interfaceRouterFactory
- Returns:
- A new instance of the router object
-