|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GP.Sound
Constructor Summary | |
Sound(java.lang.String soundFileName)
Initialize a sound with a url. |
Method Summary | |
java.lang.String |
GetAudioFileName()
|
void |
Play()
|
void |
SetAudioClip(java.applet.AudioClip clip)
|
void |
Stop()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sound(java.lang.String soundFileName)
file:/u/cs015xxx/src/Cloud/sound.au
absolute path
sound.au
relative to the applet
http://www.cs.brown.edu/people/bmm/sounds/circle.au
a url
soundFileName
- the url for the sound fileMethod Detail |
public java.lang.String GetAudioFileName()
public void SetAudioClip(java.applet.AudioClip clip)
public void Play()
public void Stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |