Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLSoundNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType, VRMLWorldRootChildNodeType

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, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, 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

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

Returns:
The current source or null if not set

setSource

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

void deleteSource()
Delete all contained source content


Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium