AudioConfiguration (PJIRC project)
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/AudioConfiguration.html.
========== START OF NAVBAR ==========
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
======== START OF CLASS DATA ========
irc
Class AudioConfiguration
java.lang.Object | +--irc.AudioConfiguration
- public class AudioConfiguration
- extends java.lang.Object
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 |
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 |
AudioConfiguration
public AudioConfiguration(SoundHandler sound)
- Create a new AudioConfiguration, using the given SoundHandler.
- Parameters:
sound- the SoundHandler to use.
| Method Detail |
setQuery
public void setQuery(java.lang.String snd)
- Set the query sound.
- Parameters:
snd- sound name.
setBeep
public void setBeep(java.lang.String snd)
- Set the beep sound.
- Parameters:
snd- sound name.
setWord
public void setWord(java.lang.String word,
java.lang.String snd)
- Set the word sound.
- Parameters:
word- the word.snd- the sound to play for the given word.
onQuery
public void onQuery()
- Play the sound associated with the new query.
beep
public void beep()
- Play the beep sound.
onWord
public void onWord(java.lang.String word)
- Play the word sound.
- Parameters:
word- word sound to play.
getSoundWords
public java.util.Enumeration getSoundWords()
- Get an enumeration of all know sound words.
- Returns:
- an enumeration of string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
