|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.notify.SCAudioClipImpl
net.java.sip.communicator.impl.media.notify.JMFAudioClipImpl
public class JMFAudioClipImpl
Implementation of SCAudioClip.
| Constructor Summary | |
|---|---|
JMFAudioClipImpl(URL url,
AudioNotifierService audioNotifier)
Creates the audio clip and initialize the listener used from the loop timer. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Plays an audio clip. |
void |
internalStop()
Stops this audio without setting the isLooping property in the case of a looping audio. |
void |
play()
Plays this audio. |
void |
playInLoop(int interval)
Plays this audio in loop. |
void |
stop()
Stops this audio. |
| Methods inherited from class net.java.sip.communicator.impl.media.notify.SCAudioClipImpl |
|---|
getLoopInterval, isInvalid, isLooping, setInvalid, setIsInvalid, setIsLooping, setLoopInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMFAudioClipImpl(URL url,
AudioNotifierService audioNotifier)
throws IOException
url - the url pointing to the audio fileaudioNotifier - the audio notify service
IOException - cannot audio clip with supplied url.| Method Detail |
|---|
public void play()
play in interface SCAudioClippublic void playInLoop(int interval)
playInLoop in interface SCAudioClipinterval - the loop intervalpublic void stop()
stop in interface SCAudioClippublic void internalStop()
internalStop in class SCAudioClipImplpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the event.
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||