|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--irc.AudioConfiguration
Audio configuration class.
Constructor Summary | |
AudioConfiguration(SoundHandler sound)
Create a new AudioConfiguration, using the given SoundHandler. |
Method Summary | |
void |
beep()
Play the beep sound. |
java.util.Enumeration |
getSoundWords()
Get an enumeration of all know sound words. |
void |
onQuery()
Play the sound associated with the new query. |
void |
onWord(java.lang.String word)
Play the word sound. |
void |
play(java.lang.String snd)
Play the given sound. |
void |
setBeep(java.lang.String snd)
Set the beep sound. |
void |
setQuery(java.lang.String snd)
Set the query sound. |
void |
setWord(java.lang.String word,
java.lang.String snd)
Set the word sound. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AudioConfiguration(SoundHandler sound)
sound
- the SoundHandler to use.Method Detail |
public void play(java.lang.String snd)
snd
- the sound to be played.public void setQuery(java.lang.String snd)
snd
- sound name.public void setBeep(java.lang.String snd)
snd
- sound name.public void setWord(java.lang.String word, java.lang.String snd)
word
- the word.snd
- the sound to play for the given word.public void onQuery()
public void beep()
public void onWord(java.lang.String word)
word
- word sound to play.public java.util.Enumeration getSoundWords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |