| java.lang.Object org.jdesktop.j3d.utils.scenegraph.traverser.TreeScan
findNode | public static void findNode(javax.media.j3d.Node treeRoot, Class nodeClass, ProcessNodeInterface processor, boolean onlyEnabledSwitchChildren, boolean sharedGroupsOnce) throws javax.media.j3d.CapabilityNotSetException(Code) | | Traverse the SceneGraph starting at node treeRoot. Every time a node of
class nodeClass is found call processNode method in processor.
Parameters: treeRoot - The root of the SceneGraph to search Parameters: nodeClass - The class of the node(s) to search for Parameters: processor - The class containing the processNode method which will becalled every time the correct nodeClass is found in the Scene Graph. Parameters: onlyEnabledSwitchChildren - when true only recurse into Switchchildren which are enabled Parameters: sharedGroupsOnce - when true only process SharedGroups once,regardless how many Links refer to them throws: CapabilityNotSetException - If the node is live or compiled and the scene graphcontains groups without ALLOW_CHILDREN_READ capability |
findNode | public static void findNode(javax.media.j3d.Node treeRoot, Class[] nodeClasses, ProcessNodeInterface processor, boolean onlyEnabledSwitchChildren, boolean sharedGroupsOnce) throws javax.media.j3d.CapabilityNotSetException(Code) | | Traverse the SceneGraph starting at node treeRoot. Every time a node of
class nodeClass is found call processNode method in processor.
Parameters: treeRoot - The root of the SceneGraph to search Parameters: nodeClasses - The list of classes of the node(s) to search for Parameters: processor - The class containing the processNode method which will becalled every time the correct nodeClass is found in the Scene Graph. Parameters: onlyEnabledSwitchChildren - when true only recurse into Switchchildren which are enabled Parameters: sharedGroupsOnce - when true only process SharedGroups once,regardless how many Links refer to them throws: CapabilityNotSetException - If the node is live or compiled and the scene graphcontains groups without ALLOW_CHILDREN_READ capability |
getClass | public static Class getClass(String str)(Code) | | Conveniance method to return a Class given the full Class name
without throwing ClassNotFoundException
If the class is not available an error message is displayed and a
runtime exception thrown
|
|
|