org.iso.mpeg.mpegj.scene
Interface Scene


public interface Scene

An interface that acts as a proxy for a BIFS scene.


Method Summary
 Node getNode(int defID)
          Returns an instance of a Node proxy for an instanced node in the scene.
 

Method Detail

getNode

public Node getNode(int defID)
             throws BadParameterException,
                    InvalidSceneException
Returns an instance of a Node proxy for an instanced node in the scene.
Parameters:
defID - The id of the desired node. This node must have been instanced using DEF.
Returns:
a Node proxy for the desired node in the scene.
Throws:
BadParameterException - Thrown if no node exists with the specified id.
InvalidSceneException - Thrown if the Scene is no longer valid (due to removal or replacement).