Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLSoundStateListener


public interface VRMLSoundStateListener

A listener for changes to the isActive, loop and pitch fields in a component node.

The listener does simple notifications of the component node that has changed. This listener is intended to be used by internal structural changes within the scene graph, not to the outside world such as scripting and EAI.s

Version:
$Revision: 1.2 $
Author:
Guy Carpenter

Method Summary
 void soundStateChanged(VRMLNodeType node, boolean isActive, boolean loop, float pitch, double startTime)
          Notification that the field from the node has changed.
 

Method Detail

soundStateChanged

void soundStateChanged(VRMLNodeType node,
                       boolean isActive,
                       boolean loop,
                       float pitch,
                       double startTime)
Notification that the field from the node has changed.

Parameters:
node - The component node that changed
isActive - The current value of the isActive field
loop - The current value of the loop field
pitch - The current value of the pitch field
startTime - The current value of the startTime field

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium