Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLSoundNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType

public interface VRMLSoundNodeType
extends VRMLChildNodeType

A node which emits sound information.

Version:
$Revision: 1.3 $
Author:
Alan Hudson

Method Summary
 void deleteSource()
          Delete all contained source content
 VRMLAudioClipNodeType getSource()
          Get node content for the current source.
 void setSource(VRMLNodeType source)
          Set node content as replacement for the source.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

getSource

public VRMLAudioClipNodeType getSource()
Get node content for the current source.

Returns:
The current source or null if not set

setSource

public void setSource(VRMLNodeType source)
Set node content as replacement for the source. Setting a value of null will act like delete.

Parameters:
source - The new source instance to use

deleteSource

public void deleteSource()
Delete all contained source content


Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium