All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.Link
java.lang.Object
|
+----java.media.j3d.SceneGraphObject
|
+----java.media.j3d.Node
|
+----java.media.j3d.Leaf
|
+----java.media.j3d.Link
- public class Link
- extends Leaf
A Link leaf node consisting of a reference to a SharedGroup node.
-
ALLOW_SHARED_GROUP_READ
- For Link nodes, specifies that the node allows access to
its object's SharedGroup information.
-
ALLOW_SHARED_GROUP_WRITE
- For Link nodes, specifies that the node allows writing
its object's SharedGroup information.
-
Link()
- Constructs a Link node object which does not yet point to a
SharedGroup node.
-
Link(SharedGroup)
- Constructs a Link node object that points to the specified
SharedGroup node.
-
getSharedGroup()
- Retrieves the node's SharedGroup reference.
-
setSharedGroup(SharedGroup)
- Sets the node's SharedGroup reference.
ALLOW_SHARED_GROUP_READ
public static final int ALLOW_SHARED_GROUP_READ
- For Link nodes, specifies that the node allows access to
its object's SharedGroup information.
ALLOW_SHARED_GROUP_WRITE
public static final int ALLOW_SHARED_GROUP_WRITE
- For Link nodes, specifies that the node allows writing
its object's SharedGroup information.
Link
public Link()
- Constructs a Link node object which does not yet point to a
SharedGroup node.
Link
public Link(SharedGroup sharedGroup)
- Constructs a Link node object that points to the specified
SharedGroup node.
- Parameters:
- sharedGroup - the SharedGroup node
setSharedGroup
public final void setSharedGroup(SharedGroup sharedGroup)
- Sets the node's SharedGroup reference.
- Parameters:
- sharedGroup - the SharedGroup node to reference
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
getSharedGroup
public final SharedGroup getSharedGroup()
- Retrieves the node's SharedGroup reference.
- Returns:
- the SharedGroup node
- Throws: CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graph
All Packages Class Hierarchy This Package Previous Next Index