All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.AudioClip
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.AudioClip
- public class AudioClip
- extends VrmlObject
- implements AudioNode
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
For definition of the Anchor node please see the
VRML 97 Anchor specification
- Author:
- Justin Couch justin@vlc.com.au
-
_get_duration_changed
-
-
_get_isActive
-
-
_set_description
-
-
_set_loop
-
-
_set_pitch
-
-
_set_starttime
-
-
_set_stoptime
-
-
_set_url
-
-
AudioClip()
- Basic constructor.
-
AudioClip(Browser)
- Constructor used when supplying your own Browser reference
-
cleanup()
- Call when about to remove the node from the scenegraph.
-
clone()
- Make a clone of this object
-
get_description()
- Get the description field
-
get_duration_changed()
- Get the last value that appeared on the duration_changed eventOut
-
get_isActive()
- Get the last value that appeared on the isActive eventOut.
-
get_loop()
- Get the current looping condition for this node
-
get_pitch()
- Get the amount of pitch bending currently applied
-
get_startTime()
- Get the current starting time of this AudioClip
-
get_stopTime()
- Get the current stopping time of this AudioClip
-
get_url()
- Get the list of URLs that this node is currently using
-
set_description(String)
- Set the string which describes what this node is
-
set_loop(boolean)
- Set whether this clip should loop its output
-
set_pitch(float)
- Set the pitch value of the node.
-
set_startTime(double)
- Set the time at which the AudioClip is to start running
-
set_stopTime(double)
- Set the time at which the AudioClip is to stop running
-
set_url(String[])
- Set the list of URLs for the source of the sound
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
_set_url
protected EventInMFString _set_url
_set_loop
protected EventInSFBool _set_loop
_set_pitch
protected EventInSFFloat _set_pitch
_set_starttime
protected EventInSFTime _set_starttime
_set_stoptime
protected EventInSFTime _set_stoptime
_set_description
protected EventInSFString _set_description
_get_duration_changed
protected EventOutSFFloat _get_duration_changed
_get_isActive
protected EventOutSFBool _get_isActive
AudioClip
public AudioClip()
- Basic constructor. Used when the Browser reference has previously been
defined using the set_browser method
AudioClip
public AudioClip(Browser b)
- Constructor used when supplying your own Browser reference
cleanup
public void cleanup()
- Call when about to remove the node from the scenegraph.
- Overrides:
- cleanup in class VrmlObject
writeToStream
public void writeToStream(int indent)
- Prints the formatted contents of this node to the given stream.
- Parameters:
- indent - The number of spaces to indent this node in the string
- Overrides:
- writeToStream in class VrmlObject
set_url
public void set_url(String url[])
- Set the list of URLs for the source of the sound
- Parameters:
- The - list of URLs in decending order of preference
get_url
public String[] get_url()
- Get the list of URLs that this node is currently using
- Returns:
- The lsit of URLs in decending order of preference
set_loop
public void set_loop(boolean val)
- Set whether this clip should loop its output
- Parameters:
- val - true if the output is to loop, false if not
get_loop
public boolean get_loop()
- Get the current looping condition for this node
- Returns:
- true if the node is set to loop, false if not.
set_pitch
public void set_pitch(float val)
- Set the pitch value of the node.
- Parameters:
- A - value greater than zero representing the amount of pitch change
get_pitch
public float get_pitch()
- Get the amount of pitch bending currently applied
- Returns:
- A value representing amount of pitch bending
set_startTime
public void set_startTime(double val)
- Set the time at which the AudioClip is to start running
- Parameters:
- The - start time in seconds
get_startTime
public double get_startTime()
- Get the current starting time of this AudioClip
- Returns:
- The current start time in seconds
set_stopTime
public void set_stopTime(double val)
- Set the time at which the AudioClip is to stop running
- Parameters:
- The - stop time in seconds
get_stopTime
public double get_stopTime()
- Get the current stopping time of this AudioClip
- Returns:
- The current stop time in seconds
set_description
public void set_description(String description)
- Set the string which describes what this node is
- Parameters:
- description - The string representing the new description
get_description
public String get_description()
- Get the description field
- Returns:
- The string which is the description used for this node
get_duration_changed
public float get_duration_changed()
- Get the last value that appeared on the duration_changed eventOut
- Returns:
- A value representing what the current duration is in seconds
get_isActive
public boolean get_isActive()
- Get the last value that appeared on the isActive eventOut.
- Returns:
- True if the node is active, false if not.
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class VrmlObject
All Packages Class Hierarchy This Package Previous Next Index