| |
|
| java.lang.Object com.sun.j3d.loaders.LoaderBase org.jdesktop.j3dfly.utils.loaderwrappers.J3fLoader
J3fLoader | public class J3fLoader extends com.sun.j3d.loaders.LoaderBase (Code) | | Provides a Loader which can load Java3D scene graphs saved using the
SceneGraphFileWriter.
The Java3D LoaderInterface implemented by this class does not provide access
to all the features that can be stored in a .j3f file.
Most importantly the file may contain a universe which will be ignored
by this loader.
author: Paul Byrne version: 1.8, 01/18/02 |
getBranchGraphs | public BranchGroup[] getBranchGraphs()(Code) | | Scene only supports a single sceneBase.
For any J3f files containing multiple BranchGraphs all the graphs
will be added as children of SceneBase.
This call will return the actual set of BranchGraphs (this will
still be children of the sceneBase ). If their is only a single
branchgraph getBranchGrapgs()[0] == sceneBase
|
getClassLoader | public static ClassLoader getClassLoader()(Code) | | Get the ClassLoader set by setClassLoader
If setClassLoader has not been called the default null will be returned.
This indicates that systemClassLoader will be used.
|
getFileUserData | public Object getFileUserData() throws java.io.IOException(Code) | | Get the user object for the file, should be called from within a J3fLoaderListener only
|
setClassLoader | public static void setClassLoader(ClassLoader cLoader)(Code) | | Set the ClassLoader which will be used by the SceneGraphIO system
when loading the scene graph.
The default null in which case the system will use system class loader
|
setJ3fLoaderListener | public static void setJ3fLoaderListener(J3fLoaderListener listener)(Code) | | Setup a listener to get notified when this loader is used
|
|
|
|