Java Doc for Node.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.SceneGraphObject
      javax.media.j3d.Node

All known Subclasses:   javax.media.j3d.Group,  javax.media.j3d.Leaf,
Node
abstract public class Node extends SceneGraphObject (Code)
The Node class provides an abstract class for all Group and Leaf Nodes. It provides a common framework for constructing a Java 3D scene graph, specifically bounding volumes.

For more information, see the Introduction to the Java 3D API.

NOTE: Applications should not extend this class directly.



Field Summary
final public static  intALLOW_AUTO_COMPUTE_BOUNDS_READ
     Specifies that this Node allows read access to its bounds auto compute information.
final public static  intALLOW_AUTO_COMPUTE_BOUNDS_WRITE
     Specifies that this Node allows write access to its bounds auto compute information.
final public static  intALLOW_BOUNDS_READ
     Specifies that this Node allows read access to its bounds information.
final public static  intALLOW_BOUNDS_WRITE
     Specifies that this Node allows write access to its bounds information.
final public static  intALLOW_COLLIDABLE_READ
     Specifies that this Node allows reading its collidability state.
final public static  intALLOW_COLLIDABLE_WRITE
     Specifies that this Node allows write access its collidability state.
final public static  intALLOW_LOCALE_READ
     Specifies that this Node allows read access to its Locale.
final public static  intALLOW_LOCAL_TO_VWORLD_READ
     Specifies that this Node allows read access to its local coordinates to virtual world (Vworld) coordinates transform.
final public static  intALLOW_PARENT_READ
     Specifies that this Node allows read access to its parent Group node.
final public static  intALLOW_PICKABLE_READ
     Specifies that this Node allows reading its pickability state.
final public static  intALLOW_PICKABLE_WRITE
     Specifies that this Node allows write access its pickability state.
final public static  intENABLE_COLLISION_REPORTING
     Specifies that this Node will be reported in the collision SceneGraphPath if a collision occurs.
final public static  intENABLE_PICK_REPORTING
     Specifies that this Node will be reported in the pick SceneGraphPath if a pick occurs.

Constructor Summary
public  Node()
     Constructs a Node object with default parameters.

Method Summary
final  voidcheckDuplicateNode(Node originalNode, boolean forceDuplicate)
     Copies all node information from originalNode into the current node.
 voidcheckForCycle()
    
public  NodecloneNode(boolean forceDuplicate)
     Used to create a new instance of the node.
public  NodecloneTree()
     Duplicates all the nodes of the specified sub-graph.
public  NodecloneTree(boolean forceDuplicate)
     Duplicates all the nodes of the specified sub-graph.
public  NodecloneTree(boolean forceDuplicate, boolean allowDanglingReferences)
     Duplicates all the nodes of the specified sub-graph.
public  NodecloneTree(NodeReferenceTable referenceTable)
     Duplicates all the nodes of the specified sub-graph.
public  NodecloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate)
     Duplicates all the nodes of the specified sub-graph.
public  NodecloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate, boolean allowDanglingReferences)
     Duplicates all the nodes of the specified sub-graph.
 NodecloneTree(boolean forceDuplicate, Hashtable nodeHashtable)
     Duplicates all the nodes of the specified sub-graph.
 voidduplicateAttributes(Node originalNode, boolean forceDuplicate)
     Copies all Node information from originalNode into the current node.
public  voidduplicateNode(Node originalNode, boolean forceDuplicate)
     Copies all node information from originalNode into the current node.
public  BoundsgetBounds()
     Returns the bounding object of a node.
public  booleangetBoundsAutoCompute()
     Gets the value indicating if the automatic calcuation of geometric bounds of a node is on/off.
public  booleangetCollidable()
     Returns the collidable value; this value determines whether this node and it's children, if a group node, can be considered for collision purposes; if it is set to false, then neither this node nor any children nodes will be traversed for collision purposes; the default value is true.
public  voidgetLocalToVworld(Transform3D t)
     Retrieves the local coordinates to virtual world coordinates transform for this node in the scene graph.
public  voidgetLocalToVworld(SceneGraphPath path, Transform3D t)
     Retrieves the local coordinates to virtual world coordinates transform for the particular path in the scene graph ending with this node.
public  LocalegetLocale()
     Retrieves the locale to which this node is attached.
public  NodegetParent()
    
public  booleangetPickable()
     Returns true if this Node is pickable, false if it is not pickable.
public  voidsetBounds(Bounds bounds)
     Sets the geometric bounds of a node.
public  voidsetBoundsAutoCompute(boolean autoCompute)
     Turns the automatic calcuation of geometric bounds of a node on/off.
public  voidsetCollidable(boolean collidable)
     Sets the collidable value; determines whether this node and any of its children, if a group node, can be considered for collision purposes.
public  voidsetPickable(boolean pickable)
     When set to true this Node can be Picked.

Field Detail
ALLOW_AUTO_COMPUTE_BOUNDS_READ
final public static int ALLOW_AUTO_COMPUTE_BOUNDS_READ(Code)
Specifies that this Node allows read access to its bounds auto compute information.



ALLOW_AUTO_COMPUTE_BOUNDS_WRITE
final public static int ALLOW_AUTO_COMPUTE_BOUNDS_WRITE(Code)
Specifies that this Node allows write access to its bounds auto compute information.



ALLOW_BOUNDS_READ
final public static int ALLOW_BOUNDS_READ(Code)
Specifies that this Node allows read access to its bounds information.



ALLOW_BOUNDS_WRITE
final public static int ALLOW_BOUNDS_WRITE(Code)
Specifies that this Node allows write access to its bounds information.



ALLOW_COLLIDABLE_READ
final public static int ALLOW_COLLIDABLE_READ(Code)
Specifies that this Node allows reading its collidability state.



ALLOW_COLLIDABLE_WRITE
final public static int ALLOW_COLLIDABLE_WRITE(Code)
Specifies that this Node allows write access its collidability state.



ALLOW_LOCALE_READ
final public static int ALLOW_LOCALE_READ(Code)
Specifies that this Node allows read access to its Locale.
since:
   Java 3D 1.4



ALLOW_LOCAL_TO_VWORLD_READ
final public static int ALLOW_LOCAL_TO_VWORLD_READ(Code)
Specifies that this Node allows read access to its local coordinates to virtual world (Vworld) coordinates transform.



ALLOW_PARENT_READ
final public static int ALLOW_PARENT_READ(Code)
Specifies that this Node allows read access to its parent Group node.
since:
   Java 3D 1.4



ALLOW_PICKABLE_READ
final public static int ALLOW_PICKABLE_READ(Code)
Specifies that this Node allows reading its pickability state.



ALLOW_PICKABLE_WRITE
final public static int ALLOW_PICKABLE_WRITE(Code)
Specifies that this Node allows write access its pickability state.



ENABLE_COLLISION_REPORTING
final public static int ENABLE_COLLISION_REPORTING(Code)
Specifies that this Node will be reported in the collision SceneGraphPath if a collision occurs. This capability is only specifiable for Group nodes; it is ignored for leaf nodes. The default for Group nodes is false. All interior nodes not needed for uniqueness in a SceneGraphPath that don't have ENABLE_COLLISION_REPORTING set to true will not be reported in the SceneGraphPath.
See Also:   SceneGraphPath



ENABLE_PICK_REPORTING
final public static int ENABLE_PICK_REPORTING(Code)
Specifies that this Node will be reported in the pick SceneGraphPath if a pick occurs. This capability is only specifiable for Group nodes; it is ignored for leaf nodes. The default for Group nodes is false. All interior nodes not needed for uniqueness in a SceneGraphPath that don't have ENABLE_PICK_REPORTING set to true will not be reported in the SceneGraphPath.
See Also:   SceneGraphPath




Constructor Detail
Node
public Node()(Code)
Constructs a Node object with default parameters. The default values are as follows:
    pickable : true
    collidable : true
    bounds auto compute : true
    bounds : N/A (automatically computed)




Method Detail
checkDuplicateNode
final void checkDuplicateNode(Node originalNode, boolean forceDuplicate)(Code)
Copies all node information from originalNode into the current node. This method is called from subclass of duplicateNode method which is, in turn, called by the cloneNode method.

For any NodeComponent objects contained by the object being duplicated, each NodeComponent object's duplicateOnCloneTree value is used to determine whether the NodeComponent should be duplicated in the new node or if just a reference to the current node should be placed in the new node. This flag can be overridden by setting the forceDuplicate parameter in the cloneTree method to true.
Parameters:
  originalNode - the original node to duplicate.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied.
See Also:   Group.cloneNode
See Also:   Node.duplicateNode
See Also:   Node.cloneTree
See Also:   NodeComponent.setDuplicateOnCloneTree




checkForCycle
void checkForCycle()(Code)
checks for cycles in the scene graph



cloneNode
public Node cloneNode(boolean forceDuplicate)(Code)
Used to create a new instance of the node. This routine is called by cloneTree to duplicate the current node. cloneNode should be overridden by any user subclassed objects. All subclasses must have their cloneNode method consist of the following lines:

 public Node cloneNode(boolean forceDuplicate) {
 UserSubClass usc = new UserSubClass();
 usc.duplicateNode(this, forceDuplicate);
 return usc;
 }
 
NOTE: Applications should not call this method directly. It should only be called by the cloneTree method.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
See Also:   Node.cloneTree
See Also:   Node.duplicateNode
See Also:   NodeComponent.setDuplicateOnCloneTree



cloneTree
public Node cloneTree()(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter. a reference to the cloned sub-graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree



cloneTree
public Node cloneTree(boolean forceDuplicate)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree determines whether data isduplicated or copied. a reference to the cloned scene graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree



cloneTree
public Node cloneTree(boolean forceDuplicate, boolean allowDanglingReferences)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTreeflag to be ignored. When false, the value of each node'sduplicateOnCloneTree determines whether data isduplicated or copied.
Parameters:
  allowDanglingReferences - when set to true allowsthe cloneTreemethod to complete even whan a dangling reference is discovered. Whenthis parameter is false aDanglingReferenceException is generated assoon as cloneTree detects this situation. a reference to the cloned scene graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation and the allowDanglingReference parameter is false.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree



cloneTree
public Node cloneTree(NodeReferenceTable referenceTable)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  referenceTable - table that stores the mapping betweenoriginal and cloned nodes. All previous values in thereferenceTable will be cleared before the clone is made. a reference to the cloned sub-graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree
since:
   Java 3D 1.2



cloneTree
public Node cloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  referenceTable - table that stores the mapping betweenoriginal and cloned nodes. All previous values in thereferenceTable will be cleared before the clone is made.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree determines whether data isduplicated or copied. a reference to the cloned scene graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree
since:
   Java 3D 1.2



cloneTree
public Node cloneTree(NodeReferenceTable referenceTable, boolean forceDuplicate, boolean allowDanglingReferences)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  referenceTable - table that stores the mapping betweenoriginal and cloned nodes. All previous values in thereferenceTable will be cleared before the clone is made.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree determines whether data isduplicated or copied.
Parameters:
  allowDanglingReferences - when set to true allowsthe cloneTreemethod to complete even whan a dangling reference is discovered. Whenthis parameter is false aDanglingReferenceException is generated assoon as cloneTree detects this situation. a reference to the cloned scene graph.
exception:
  DanglingReferenceException - When a dangling reference isdiscovered during the cloneTree operation.
exception:
  RestrictedAccessException - if this object is part of liveor compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph
See Also:   NodeComponent.setDuplicateOnCloneTree
since:
   Java 3D 1.2



cloneTree
Node cloneTree(boolean forceDuplicate, Hashtable nodeHashtable)(Code)
Duplicates all the nodes of the specified sub-graph. For Group Nodes the group node is duplicated via a call to cloneNode and then cloneTree is called for each child node. For Leaf Nodes, component data can either be duplicated or be made a reference to the original data. Leaf Node cloneTree behavior is determined by the duplicateOnCloneTree flag found in every Leaf Node's component data class and by the forceDuplicate paramter.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTreeflag to be ignored. When false, the value of each node'sduplicateOnCloneTree determines whether data isduplicated or copied.
Parameters:
  nodeHashtable - a hashtable used to map orignal node references totheir cloned counterpart. a reference to the cloned scene graph.
See Also:   NodeComponent.setDuplicateOnCloneTree



duplicateAttributes
void duplicateAttributes(Node originalNode, boolean forceDuplicate)(Code)
Copies all Node information from originalNode into the current node. This method is called from the cloneNode method which is, in turn, called by the cloneTree method.


Parameters:
  originalNode - the original node to duplicate.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied.
exception:
  RestrictedAccessException - if originalNode object is part of a liveor compiled scenegraph.
See Also:   Node.duplicateNode
See Also:   Node.cloneTree
See Also:   NodeComponent.setDuplicateOnCloneTree




duplicateNode
public void duplicateNode(Node originalNode, boolean forceDuplicate)(Code)
Copies all node information from originalNode into the current node. This method is called from the cloneNode method which is, in turn, called by the cloneTree method.

For any NodeComponent objects contained by the object being duplicated, each NodeComponent object's duplicateOnCloneTree value is used to determine whether the NodeComponent should be duplicated in the new node or if just a reference to the current node should be placed in the new node. This flag can be overridden by setting the forceDuplicate parameter in the cloneTree method to true.
NOTE: Applications should not call this method directly. It should only be called by the cloneNode method.
Parameters:
  originalNode - the original node to duplicate.
Parameters:
  forceDuplicate - when set to true, causes theduplicateOnCloneTree flag to be ignored. Whenfalse, the value of each node'sduplicateOnCloneTree variable determines whetherNodeComponent data is duplicated or copied.
See Also:   Group.cloneNode
See Also:   Node.duplicateNode
See Also:   Node.cloneTree
See Also:   NodeComponent.setDuplicateOnCloneTree




getBounds
public Bounds getBounds()(Code)
Returns the bounding object of a node. the node's bounding object
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph
exception:
  SceneGraphCycleException - if there is a cycle in thescene graph



getBoundsAutoCompute
public boolean getBoundsAutoCompute()(Code)
Gets the value indicating if the automatic calcuation of geometric bounds of a node is on/off. the node's auto compute flag for the geometric bounding object
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getCollidable
public boolean getCollidable()(Code)
Returns the collidable value; this value determines whether this node and it's children, if a group node, can be considered for collision purposes; if it is set to false, then neither this node nor any children nodes will be traversed for collision purposes; the default value is true. The collidable setting is the way that an application can perform collision culling. the present collidable value for this node



getLocalToVworld
public void getLocalToVworld(Transform3D t)(Code)
Retrieves the local coordinates to virtual world coordinates transform for this node in the scene graph. This is the composite of all transforms in the scene graph from the root down to this node. It is only valid for nodes that are part of a live scene graph. If the node is not part of a live scene graph then the coordinates are calculated as if the graph was attached at the origin of a locale.
Parameters:
  t - the object that will receive the local coordinates toVworld coordinates transform.
exception:
  RestrictedAccessException - if the node is compiled but not part of a live scene graph
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this node is part of live or compiled scene graph
exception:
  IllegalSharingException - if the node is a descendantof a SharedGroup node.



getLocalToVworld
public void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)
Retrieves the local coordinates to virtual world coordinates transform for the particular path in the scene graph ending with this node. This is the composite of all transforms in the scene graph from the root down to this node via the specified Link nodes. It is only valid for nodes that are part of a live scene graph.
Parameters:
  path - the specific path from the node to the Locale
Parameters:
  t - the object that will receive the local coordinates toVworld coordinates transform.
exception:
  RestrictedAccessException - if the node is notpart of a live scene graph
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this node is part of live scene graph
exception:
  IllegalArgumentException - if the specified path doesnot contain a valid Locale, or if the last node in the path isdifferent from this node
exception:
  IllegalSharingException - if the node is not a descendantof a SharedGroup node.



getLocale
public Locale getLocale()(Code)
Retrieves the locale to which this node is attached. If the node is not part of a live scene graph, null is returned. the locale to which this node is attached.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this node is part of live scene graph
exception:
  IllegalSharingException - if the node is a descendantof a SharedGroup node.
since:
   Java 3D 1.4



getParent
public Node getParent()(Code)
the parent of this node, or null if this node has no parent
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



getPickable
public boolean getPickable()(Code)
Returns true if this Node is pickable, false if it is not pickable.



setBounds
public void setBounds(Bounds bounds)(Code)
Sets the geometric bounds of a node.
Parameters:
  bounds - the bounding object for a node
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setBoundsAutoCompute
public void setBoundsAutoCompute(boolean autoCompute)(Code)
Turns the automatic calcuation of geometric bounds of a node on/off.
Parameters:
  autoCompute - indicates if the node's bounding object isautomatically computed.
exception:
  CapabilityNotSetException - if appropriate capability isnot set and this object is part of live or compiled scene graph



setCollidable
public void setCollidable(boolean collidable)(Code)
Sets the collidable value; determines whether this node and any of its children, if a group node, can be considered for collision purposes.
Parameters:
  collidable - the new collidable value for this node



setPickable
public void setPickable(boolean pickable)(Code)
When set to true this Node can be Picked. Setting to false indicates that this node and it's children are ALL unpickable.
Parameters:
  pickable - Indicates if this node should be pickable or not



Fields inherited from javax.media.j3d.SceneGraphObject
Hashtable nodeHashtable(Code)(Java Doc)
SceneGraphObjectRetained retained(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObject
final boolean capabilityBitsEmpty()(Code)(Java Doc)
final void checkForLiveOrCompiled()(Code)(Java Doc)
final public void clearCapability(int bit)(Code)(Java Doc)
final public void clearCapabilityIsFrequent(int bit)(Code)(Java Doc)
final void clearLive()(Code)(Java Doc)
void createRetained()(Code)(Java Doc)
protected void duplicateSceneGraphObject(SceneGraphObject originalNode)(Code)(Java Doc)
final public boolean getCapability(int bit)(Code)(Java Doc)
final public boolean getCapabilityIsFrequent(int bit)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
String getNamePrefix()(Code)(Java Doc)
NodeComponent getNodeComponent(NodeComponent originalNodeComponent, boolean forceDuplicate, Hashtable hashtable)(Code)(Java Doc)
public Object getUserData()(Code)(Java Doc)
final public boolean isCompiled()(Code)(Java Doc)
final public boolean isLive()(Code)(Java Doc)
final boolean isLiveOrCompiled()(Code)(Java Doc)
final public void setCapability(int bit)(Code)(Java Doc)
final public void setCapabilityIsFrequent(int bit)(Code)(Java Doc)
final void setCompiled()(Code)(Java Doc)
void setDefaultReadCapabilities(int[] bits)(Code)(Java Doc)
final void setLive()(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setUserData(Object userData)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void updateNodeReferences(NodeReferenceTable referenceTable)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.