|
Jitsi: 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.gui.main.call.DTMFHandler
public class DTMFHandler
Handles DTMF sending and playing sound notifications for that.
| Nested Class Summary | |
|---|---|
static class |
DTMFHandler.DTMFToneInfo
DTMF extended information. |
| Field Summary | |
|---|---|
static DTMFHandler.DTMFToneInfo[] |
availableTones
All available tones and its properties like images for buttons, and sounds to be played during send. |
(package private) ArrayList<Window> |
parents
Parent windows we listen key entering on them. |
| Constructor Summary | |
|---|---|
DTMFHandler()
Creates DTMF handler for a call. |
|
DTMFHandler(CallPanel callContainer)
Creates DTMF handler for a call. |
|
| Method Summary | |
|---|---|
void |
addParent(Window w)
Add parent on which we listen for key entering. |
boolean |
dispatchKeyEvent(KeyEvent e)
This one dispatches key events and if they are on one of our focused parents. |
void |
startSendingDtmfTone(String toneValue)
Sends a DTMF tone to the current DTMF operation set. |
void |
stopSendingDtmfTone()
Stop sending DTMF tone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ArrayList<Window> parents
public static final DTMFHandler.DTMFToneInfo[] availableTones
| Constructor Detail |
|---|
public DTMFHandler(CallPanel callContainer)
callContainer - the CallContainer, where this handler is
registeredpublic DTMFHandler()
| Method Detail |
|---|
public void addParent(Window w)
w - public boolean dispatchKeyEvent(KeyEvent e)
dispatchKeyEvent in interface KeyEventDispatchere - the event.
public void startSendingDtmfTone(String toneValue)
toneValue - the value of the DTMF tone to send.public void stopSendingDtmfTone()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||