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.


Variable Index

 o ALLOW_SHARED_GROUP_READ
For Link nodes, specifies that the node allows access to its object's SharedGroup information.
 o ALLOW_SHARED_GROUP_WRITE
For Link nodes, specifies that the node allows writing its object's SharedGroup information.

Constructor Index

 o Link()
Constructs a Link node object which does not yet point to a SharedGroup node.
 o Link(SharedGroup)
Constructs a Link node object that points to the specified SharedGroup node.

Method Index

 o getSharedGroup()
Retrieves the node's SharedGroup reference.
 o setSharedGroup(SharedGroup)
Sets the node's SharedGroup reference.

Variables

 o 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.

 o 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.

Constructors

 o Link
 public Link()
Constructs a Link node object which does not yet point to a SharedGroup node.

 o Link
 public Link(SharedGroup sharedGroup)
Constructs a Link node object that points to the specified SharedGroup node.

Parameters:
sharedGroup - the SharedGroup node

Methods

 o 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
 o 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