This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.applet
interface AudioClip
-
Most common way to construct:
-
URL url = …;
AudioClip clip = Applet.newAudioClip(url);
Based on 12 examples
public interface AudioClip
The AudioClip
interface is a simple abstraction for
playing a sound clip. Multiple AudioClip
items can be
playing at the same time, and the resulting sound is mixed
together to produce a composite.
Method Summary |
void |
Starts playing this audio clip in a loop.
|
void |
Starts playing this audio clip.
|
void |
Stops playing this audio clip.
|
loop
public void loop()
-
Starts playing this audio clip in a loop.
play
public void play()
-
Starts playing this audio clip. Each time this method is called,
the clip is restarted from the beginning.
stop
public void stop()
-
Stops playing this audio clip.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.