Package org.xj3d.sai.internal.node.sound
Class SAIAudioClip
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.sound.SAIAudioClip
- All Implemented Interfaces:
AudioClip
,X3DChildNode
,X3DNode
,X3DSoundSourceNode
,X3DTimeDependentNode
,X3DUrlObject
A concrete implementation of the AudioClip node interface
- Version:
- $Revision: 1.2 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode
-
Constructor Summary
ConstructorsConstructorDescriptionSAIAudioClip
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the description String value.double
Return the duration_changed double value.double
Return the elapsedTime double value.boolean
Return the isActive boolean value.boolean
Return the isPaused boolean value.boolean
getLoop()
Return the loop boolean value.int
Return the number of MFString items in the url field.double
Return the pauseTime double value.float
getPitch()
Return the pitch float value.double
Return the resumeTime double value.double
Return the startTime double value.double
Return the stopTime double value.void
Return the url value in the argument String[]void
setDescription
(String val) Set the description field.void
setLoop
(boolean val) Set the loop field.void
setPauseTime
(double val) Set the pauseTime field.void
setPitch
(float val) Set the pitch field.void
setResumeTime
(double val) Set the resumeTime field.void
setStartTime
(double val) Set the startTime field.void
setStopTime
(double val) Set the stopTime field.void
Set the url field.Methods inherited from class org.web3d.vrml.scripting.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIAudioClip
public SAIAudioClip(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getLoop
public boolean getLoop()Return the loop boolean value.- Specified by:
getLoop
in interfaceX3DTimeDependentNode
- Returns:
- The loop boolean value.
-
setLoop
public void setLoop(boolean val) Set the loop field.- Specified by:
setLoop
in interfaceX3DTimeDependentNode
- Parameters:
val
- The boolean to set.
-
getStartTime
public double getStartTime()Return the startTime double value.- Specified by:
getStartTime
in interfaceX3DTimeDependentNode
- Returns:
- The startTime double value.
-
setStartTime
public void setStartTime(double val) Set the startTime field.- Specified by:
setStartTime
in interfaceX3DTimeDependentNode
- Parameters:
val
- The double to set.
-
getStopTime
public double getStopTime()Return the stopTime double value.- Specified by:
getStopTime
in interfaceX3DTimeDependentNode
- Returns:
- The stopTime double value.
-
setStopTime
public void setStopTime(double val) Set the stopTime field.- Specified by:
setStopTime
in interfaceX3DTimeDependentNode
- Parameters:
val
- The double to set.
-
getPauseTime
public double getPauseTime()Return the pauseTime double value.- Specified by:
getPauseTime
in interfaceX3DTimeDependentNode
- Returns:
- The pauseTime double value.
-
setPauseTime
public void setPauseTime(double val) Set the pauseTime field.- Specified by:
setPauseTime
in interfaceX3DTimeDependentNode
- Parameters:
val
- The double to set.
-
getResumeTime
public double getResumeTime()Return the resumeTime double value.- Specified by:
getResumeTime
in interfaceX3DTimeDependentNode
- Returns:
- The resumeTime double value.
-
setResumeTime
public void setResumeTime(double val) Set the resumeTime field.- Specified by:
setResumeTime
in interfaceX3DTimeDependentNode
- Parameters:
val
- The double to set.
-
getElapsedTime
public double getElapsedTime()Return the elapsedTime double value.- Specified by:
getElapsedTime
in interfaceX3DTimeDependentNode
- Returns:
- The elapsedTime double value.
-
getDescription
Return the description String value.- Specified by:
getDescription
in interfaceX3DSoundSourceNode
- Returns:
- The description String value.
-
setDescription
Set the description field.- Specified by:
setDescription
in interfaceX3DSoundSourceNode
- Parameters:
val
- The String to set.
-
getPitch
public float getPitch()Return the pitch float value.- Specified by:
getPitch
in interfaceX3DSoundSourceNode
- Returns:
- The pitch float value.
-
setPitch
public void setPitch(float val) Set the pitch field.- Specified by:
setPitch
in interfaceX3DSoundSourceNode
- Parameters:
val
- The float to set.
-
getNumUrl
public int getNumUrl()Return the number of MFString items in the url field.- Specified by:
getNumUrl
in interfaceX3DUrlObject
- Returns:
- the number of MFString items in the url field.
-
getUrl
Return the url value in the argument String[]- Specified by:
getUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to initialize.
-
setUrl
Set the url field.- Specified by:
setUrl
in interfaceX3DUrlObject
- Parameters:
val
- The String[] to set.
-
getDuration
public double getDuration()Return the duration_changed double value.- Returns:
- The duration_changed double value.
-
getIsActive
public boolean getIsActive()Return the isActive boolean value.- Specified by:
getIsActive
in interfaceX3DTimeDependentNode
- Returns:
- The isActive boolean value.
-
getIsPaused
public boolean getIsPaused()Return the isPaused boolean value.- Specified by:
getIsPaused
in interfaceX3DTimeDependentNode
- Returns:
- The isPaused boolean value.
-